dashboard
repositories
activity
search
login
lzh
/
A133
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Revert "feat(fix): fixed the problem of reboot stuck"
huangcm
2025-07-01
2af87f2bbd5ba07d377b5a7f0ee0e96053f2d424
[~lzh/A133.git]
/
android
/
external
/
clang
/
test
/
Tooling
/
clang-check-rel-path.cpp
1
2
3
4
5
6
7
8
9
10
// This block test a compilation database with files relative to the directory
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: echo '[{"directory":"%t","command":"clang++ -c test.cpp","file":"test.cpp"}]' | sed -e 's/\\/\//g' > %t/compile_commands.json
// RUN: cp "%s" "%t/test.cpp"
// RUN: not clang-check -p "%t" "%t/test.cpp" 2>&1|FileCheck %s
// FIXME: Make the above easier.
// CHECK: C++ requires
invalid;