summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/cxx17-inline-variables.cpp
Commit message (Collapse)AuthorAgeFilesLines
* In C++17, when instantiating an out-of-line definition of an inline static dataRichard Smith2018-01-101-0/+11
| | | | | | member, don't forget to instantiate the initializer too. llvm-svn: 322236
* When attempting to complete an incomplete array bound type in an expression,Richard Smith2017-12-141-0/+11
| | | | | | | | | | update the type from the definition even if we didn't instantiate a definition. We may have instantiated the definition in an earlier stage of semantic analysis, after creating the DeclRefExpr but before we reach a point where a complete expression type is required. llvm-svn: 320709
* Don't suppress instantiation of definitions for variables subject to explicitRichard Smith2017-10-181-0/+7
instantiation declarations if they are usable from constant expressions. We are permitted to instantiate in these cases, and required to do so in order to have an initializer available for use within constant evaluation. llvm-svn: 316136
OpenPOWER on IntegriCloud