summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CloneDetection.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-06-21 02:20:46 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-06-21 02:20:46 +0000
commitafa47c91ce5085d446ebb5ac1312dc98b6a68a6c (patch)
tree586f41de8925f0e670b342f7b0540f42269f398d /clang/lib/Analysis/CloneDetection.cpp
parent37423941dc88c9abfbf77f042d86fb4cf691ec6c (diff)
downloadbcm5719-llvm-afa47c91ce5085d446ebb5ac1312dc98b6a68a6c.tar.gz
bcm5719-llvm-afa47c91ce5085d446ebb5ac1312dc98b6a68a6c.zip
Support MS builtins using 'long' on LP64 platforms
This allows for -fms-extensions to work the same on LP64. For example, _BitScanReverse is expected to be 32-bit, matching Windows/LLP64, even though long is 64-bit on x86_64 Darwin or Linux (LP64). Implement this by adding a new character code 'N', which is 'int' if the target is LP64 and the same 'L' otherwise Differential Revision: https://reviews.llvm.org/D34377 rdar://problem/32599746 llvm-svn: 305875
Diffstat (limited to 'clang/lib/Analysis/CloneDetection.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud