aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2017-09-15 18:49:34 +0000
committerShoaib Meenai <smeenai@fb.com>2017-09-15 18:49:34 +0000
commit03e314bb0de338a8ff63c41ec1afd95d67281e50 (patch)
tree4d0baa504945dd3331b47f2c88b7e55bbec070f2 /llvm/utils/TableGen/CodeGenDAGPatterns.cpp
parent534bfbd3ba82b4fe742563667f933f4e0a8ac9f0 (diff)
downloadllvm-03e314bb0de338a8ff63c41ec1afd95d67281e50.zip
llvm-03e314bb0de338a8ff63c41ec1afd95d67281e50.tar.gz
llvm-03e314bb0de338a8ff63c41ec1afd95d67281e50.tar.bz2
[libc++] Account for Microsoft CRT const overloads
Microsoft's CRT already provides the const overloads, and it defines the `_CRT_CONST_CORRECT_OVERLOADS` macro to indicate their presence. Check for this macro before attempting to define our own const-correct overloads, to avoid compiler warnings about casts dropping const qualifiers. llvm-svn: 313377
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions