summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/SymbolSize.cpp
diff options
context:
space:
mode:
authorMeador Inge <meadori@codesourcery.com>2015-06-25 22:06:40 +0000
committerMeador Inge <meadori@codesourcery.com>2015-06-25 22:06:40 +0000
commitf0af05c4a57475b8e3b9ba9920018ddd5bd00322 (patch)
treeb69b22077bbc24a334ff24be0e573f53da018624 /llvm/lib/Object/SymbolSize.cpp
parent9b921e5dc962f5e12c7bb557492d663821615167 (diff)
downloadbcm5719-llvm-f0af05c4a57475b8e3b9ba9920018ddd5bd00322.tar.gz
bcm5719-llvm-f0af05c4a57475b8e3b9ba9920018ddd5bd00322.zip
[Parse] Allow 'constexpr' in condition declarations
This patch implements the functionality specified by DR948. The changes are two fold. First, the parser was modified to allow 'constexpr's to appear in condition declarations (which was a hard error before). Second, Sema was modified to cleanup maybe odr-used declarations by way of a call to 'ActOnFinishFullExpr'. As 'constexpr's were not allowed in condition declarations before the cleanup wasn't necessary (such declarations were always odr-used). This fixes PR22491. Differential Revision: http://reviews.llvm.org/D8978 llvm-svn: 240707
Diffstat (limited to 'llvm/lib/Object/SymbolSize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud