summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cxx2a-init-statement.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CGDecl::emitStoresForConstant fix synthesized constant's nameJF Bastien2018-11-151-2/+2
| | | | | | | | | | | | Summary: The name of the synthesized constants for constant initialization was using mangling for statics, which isn't generally correct and (in a yet-uncommitted patch) causes the mangler to assert out because the static ends up trying to mangle function parameters and this makes no sense. Instead, mangle to `"__const." + FunctionName + "." + DeclName`. Reviewers: rjmccall Subscribers: dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D54055 llvm-svn: 346915
* [cxx2a] P0614R1: Support init-statements in range-based for loops.Richard Smith2018-09-281-0/+10
We don't yet support this for the case where a range-based for loop is implicitly rewritten to an ObjC for..in statement. llvm-svn: 343350
OpenPOWER on IntegriCloud