
Many of the test files had an inconsistent formatting. This patch ran clang-format over them using the project's .clang-format file, with column limit = 0, to prevent test directives from being split over multiple lines.
21 lines
318 B
C++
21 lines
318 B
C++
// RUN: rm -rf %t && mkdir -p %t
|
|
// RUN: split-file %s %t
|
|
// RUN: clang-doc -format=html %t/compile_commands.json %t/main.cpp
|
|
|
|
//--- main.cpp
|
|
|
|
class Foo {
|
|
void getFoo();
|
|
};
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|
|
|
|
//--- compile_commands.json
|
|
[{
|
|
"directory" : "foo",
|
|
"file" : "main.cpp",
|
|
"command" : "clang main.cpp -c"
|
|
}]
|