21 lines · cpp
1// RUN: rm -rf %t && mkdir -p %t2// RUN: split-file %s %t3// RUN: clang-doc -format=html %t/compile_commands.json %t/main.cpp4 5//--- main.cpp6 7class Foo {8 void getFoo();9};10 11int main() {12 return 0;13}14 15//--- compile_commands.json16[{17 "directory" : "foo",18 "file" : "main.cpp",19 "command" : "clang main.cpp -c"20}]21