Patch by Alexander Shaposhnikov!
Differential Revision: https://reviews.llvm.org/D23828
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279613
91177308-0d34-0410-b5e6-
96231b3b80d8
// Explicit InitListExpr's originate from source code (and have valid source
// locations). Implicit InitListExpr's are created by the semantic analyzer.
- bool isExplicit() {
+ bool isExplicit() const {
return LBraceLoc.isValid() && RBraceLoc.isValid();
}