summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-08-24 06:44:57 +0000
committerVedant Kumar <vsk@apple.com>2016-08-24 06:44:57 +0000
commit81899af5501ac02d1c42ea43e1370ad5a6a92bd0 (patch)
tree8c27095a0fe7420b6ce82645e25ebf034bc03efa
parentdfa0c53885d910853583ad38fbfb98fe61979f18 (diff)
downloadbcm5719-llvm-81899af5501ac02d1c42ea43e1370ad5a6a92bd0.tar.gz
bcm5719-llvm-81899af5501ac02d1c42ea43e1370ad5a6a92bd0.zip
[AST] Make InitListExpr::isExplicit const (NFC)
Patch by Alexander Shaposhnikov! Differential Revision: https://reviews.llvm.org/D23828 llvm-svn: 279613
-rw-r--r--clang/include/clang/AST/Expr.h2
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();
}
OpenPOWER on IntegriCloud