aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2020-08-12 00:06:52 +0200
committerSam McCall <sam.mccall@gmail.com>2020-08-13 09:43:27 +0200
commitc286d6fdeeb2b103777d3ae8c9de84937cb51efe (patch)
treea73b1870f357ff4ab8c0aa7c8b6b523801bf23bc /clang/unittests/Tooling/Syntax/TreeTest.cpp
parenteaa341fbea961894759355256d25d785509002ef (diff)
downloadllvm-c286d6fdeeb2b103777d3ae8c9de84937cb51efe.zip
llvm-c286d6fdeeb2b103777d3ae8c9de84937cb51efe.tar.gz
llvm-c286d6fdeeb2b103777d3ae8c9de84937cb51efe.tar.bz2
[Parser] Suppress -Wempty-translation-unit if this is a header file
This is motivated by tooling (clangd, libclang etc) - headers without declarations are legitimate even if they're not valid TUs. The other use -x c-header cases (PCH/modules) are nonstandard anyway and this warning doesn't seem necessary there either. Differential Revision: https://reviews.llvm.org/D85789
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions