aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2021-03-28 00:03:37 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2021-04-07 09:43:58 +0100
commite018698bec363637f0da25b68da9ba8c3192d1cb (patch)
tree516d606240819b07989177fd3112d4dec39edbef /clang/lib/Basic/SourceManager.cpp
parentb62c62c51973f82713477ecba28d0a4bd7c6ee6a (diff)
downloadllvm-e018698bec363637f0da25b68da9ba8c3192d1cb.zip
llvm-e018698bec363637f0da25b68da9ba8c3192d1cb.tar.gz
llvm-e018698bec363637f0da25b68da9ba8c3192d1cb.tar.bz2
[clang, test] Fix use of undef FileCheck var
Clang test CodeGen/libcalls.c contains CHECK-NOT directives using a variable defined in a CHECK directive with a different prefix never enabled together, therefore causing the variable to be undefined in that CHECK-NOT. The intent of the test is to check that some declaration do not have the same attribute as when compiling the test without -fmath-errno. This commits instead changes all CHECK-NOT to CHECK directive, checking that they all use the same attribute. It also adds an extra CHECK for that prefix to check the expected attributes these functions should have when compiling with -fmath-errno. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D99898
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions