diff options
-rw-r--r-- | clang/include/clang/AST/Expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index 9179c7736a9..7f98f005feb 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/include/clang/AST/Expr.h @@ -3862,7 +3862,7 @@ public: // 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(); } |