aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2020-12-17 22:55:18 -0800
committerSiva Chandra Reddy <sivachandra@google.com>2020-12-17 23:16:26 -0800
commitd599ed49b355f1481bf8b22774e1a902352c9766 (patch)
tree8cfaa647123960c102166378bfbcee90ba91dc6a /clang/lib/Frontend/CompilerInvocation.cpp
parentfdd6ed8e9341f5161673e962cbd36e1f4c3968f5 (diff)
downloadllvm-d599ed49b355f1481bf8b22774e1a902352c9766.zip
llvm-d599ed49b355f1481bf8b22774e1a902352c9766.tar.gz
llvm-d599ed49b355f1481bf8b22774e1a902352c9766.tar.bz2
[libc][NFC] Use ASSERT_FP_EQ to comapre NaN values in tests.
This is a continuation of the previous CL which did a similar change in other tests. To elaborate a little about why we need this - under C++ compilation with headers not from LLVM libc, libraries like libc++ and libstdc++ provide their own math.h which undefine macros like `isnan` and provide the overloaded C++ isnan functions which return a boolean value instead of an integer value returned by the isnan macro.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions