aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2023-08-15 14:11:58 -0700
committerMehdi Amini <joker.eph@gmail.com>2023-08-15 14:12:34 -0700
commitc49142e4f5c8645a4d741d233f0cb55ef1ef87a2 (patch)
tree1b58e91c89f1c1605affe39e9ceff306c29c5019 /clang/lib/Frontend/CompilerInvocation.cpp
parent02596693fac55f550e85620f5184547c80c8f930 (diff)
downloadllvm-c49142e4f5c8645a4d741d233f0cb55ef1ef87a2.zip
llvm-c49142e4f5c8645a4d741d233f0cb55ef1ef87a2.tar.gz
llvm-c49142e4f5c8645a4d741d233f0cb55ef1ef87a2.tar.bz2
Fix truncated __OPENMP_NVPTX__ preprocessor condition
I don't have a test case for this but noticed this warning when including system headers with `-I` rather than `-isystem`. ``` In file included from <built-in>:1: In file included from /nix/store/jq6bpm0xmhnbffhs5rkxq4n88g5xi2zg-clang-wrapper-11.0.1/resource-root/include/__clang_cuda_runtime_wrapper.h:157: /nix/store/jq6bpm0xmhnbffhs5rkxq4n88g5xi2zg-clang-wrapper-11.0.1/resource-root/include/__clang_cuda_math.h:39:25: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] ^ ``` Reviewed By: tra Differential Revision: https://reviews.llvm.org/D95299
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions