mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
C++: Force LF for .c,.cpp,.h,.hpp
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
|
||||
enum Type { S, I };
|
||||
|
||||
struct Entry {
|
||||
|
||||
char* name;
|
||||
Type t;
|
||||
char* s;
|
||||
int i;
|
||||
|
||||
};
|
||||
|
||||
union Value {
|
||||
char* s;
|
||||
int i;
|
||||
};
|
||||
|
||||
|
||||
struct EntryWithMethod: Entry {
|
||||
int getAsInt() {
|
||||
return i;
|
||||
}
|
||||
};
|
||||
|
||||
enum Type { S, I };
|
||||
|
||||
struct Entry {
|
||||
|
||||
char* name;
|
||||
Type t;
|
||||
char* s;
|
||||
int i;
|
||||
|
||||
};
|
||||
|
||||
union Value {
|
||||
char* s;
|
||||
int i;
|
||||
};
|
||||
|
||||
|
||||
struct EntryWithMethod: Entry {
|
||||
int getAsInt() {
|
||||
return i;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user