Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions -top.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
static int top_dash() { return 1; }
1 change: 1 addition & 0 deletions cap/many.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ int many(int x) {
total += 14;
return total;
}
// touched
2 changes: 2 additions & 0 deletions incdemo/use2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "missing_lib.h"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✖ Error: clang-diagnostic-error

'missing_lib.h' file not found

static int use_two() { return lib_value(); }
12 changes: 12 additions & 0 deletions src/fixits.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
static int fixits(int x, const int const* p)
{
if (p == 0) {
return 0;
}
if (x > 1) {
return 1;
}
{
return 2;
}
}
File renamed without changes.
7 changes: 7 additions & 0 deletions src/no_final_newline.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <cstdio>
static int added()
{
int const x = 1;
printf("%d", x);
return x;
}
1 change: 1 addition & 0 deletions stress/latin1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ int f( int x ){ int y=x*2; return y ;}
int main(){
char* p = NULL;
printf("%d\n",f(3)); return 0;}
static int edited_latin1() { return 3; }
1 change: 1 addition & 0 deletions stress/with space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ int f( int x ){ int y=x*2; return y ;}
int main(){
char* p = NULL;
printf("%d\n",f(3)); return 0;}
static int edited_space() { return 1; }