This revision was automatically updated to reflect the committed changes. Closed by commit rL279613: [AST] Make InitListExpr::isExplicit const (NFC) (authored by vedantk).
Changed prior to commit: https://reviews.llvm.org/D23828?vs=69083&id=69084#toc Repository: rL LLVM https://reviews.llvm.org/D23828 Files: cfe/trunk/include/clang/AST/Expr.h Index: cfe/trunk/include/clang/AST/Expr.h =================================================================== --- cfe/trunk/include/clang/AST/Expr.h +++ cfe/trunk/include/clang/AST/Expr.h @@ -3862,7 +3862,7 @@ // 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(); }
Index: cfe/trunk/include/clang/AST/Expr.h =================================================================== --- cfe/trunk/include/clang/AST/Expr.h +++ cfe/trunk/include/clang/AST/Expr.h @@ -3862,7 +3862,7 @@ // 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(); }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits