blob: 9025bbf910813783044070632e1968b5b6d280be [file] [log] [blame] [edit]
// 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"
}]