r363585 - [clang][AST] Remove unnecessary 'const'.
Michael Liao via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 17 10:47:04 PDT 2019
Author: hliao
Date: Mon Jun 17 10:47:03 2019
New Revision: 363585
URL: http://llvm.org/viewvc/llvm-project?rev=363585&view=rev
Log:
[clang][AST] Remove unnecessary 'const'.
Modified:
cfe/trunk/include/clang/AST/Expr.h
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=363585&r1=363584&r2=363585&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Mon Jun 17 10:47:03 2019
@@ -1024,7 +1024,7 @@ public:
llvm_unreachable("invalid ResultKind");
}
ResultStorageKind getResultStorageKind() const {
- return static_cast<const ResultStorageKind>(ConstantExprBits.ResultKind);
+ return static_cast<ResultStorageKind>(ConstantExprBits.ResultKind);
}
APValue getAPValueResult() const;
More information about the cfe-commits
mailing list