reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | // REQUIRES: shell // RUN: rm -rf %t.dir // RUN: rm -rf %t.cdb // RUN: mkdir -p %t.dir // RUN: cp %s %t.dir/symlink_input.cpp // RUN: cp %s %t.dir/symlink_input2.cpp // RUN: mkdir %t.dir/Inputs // RUN: cp %S/Inputs/header.h %t.dir/Inputs/header.h // RUN: ln -s %t.dir/Inputs/header.h %t.dir/Inputs/symlink.h // RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/symlink_cdb.json > %t.cdb // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 -reuse-filemanager=0 | FileCheck %s // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 -reuse-filemanager=1 | FileCheck %s #include "symlink.h" #include "header.h" // CHECK: symlink_input.cpp // CHECK-NEXT: Inputs{{/|\\}}symlink.h // CHECK-NEXT: Inputs{{/|\\}}header.h // CHECK: symlink_input2.cpp // CHECK-NEXT: Inputs{{/|\\}}symlink.h // CHECK-NEXT: Inputs{{/|\\}}header.h |