summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-25 01:35:18 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-25 01:35:18 +0000
commit977026c5f5233f1085a060e770951ac324b1e04d (patch)
tree955c6c443572c6969eb6e3a70470d56dfff6ad69 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parentd6111d3c6d214e5049b731ed4b13c1847034211a (diff)
downloadbcm5719-llvm-977026c5f5233f1085a060e770951ac324b1e04d.tar.gz
bcm5719-llvm-977026c5f5233f1085a060e770951ac324b1e04d.zip
[Preprocessor] Prevent expansion of y in x ## y when x is empty
When x is empty, x ## is suppressed, and when y gets expanded, the fact that it follows ## is not available in the macro expansion result. The macro definition can be checked instead, the ## will be available there regardless of what x expands to. Fixes http://llvm.org/PR12767 Patch by Harald van Dijk! llvm-svn: 182699
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud