diff options
| author | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
| commit | ab9db51042d1b821d324a209f3ba37e5ee7525a7 (patch) | |
| tree | 02b8d37aa99733a57641681111d0277aa97c4477 /clang/lib/AST/ExprConstant.cpp | |
| parent | f530b329c7ac6c80ea8ea927d1bd310168c1c3f2 (diff) | |
| download | bcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.tar.gz bcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.zip | |
Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
llvm-svn: 240353
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
| -rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index b69bc1c7953..8e472f17414 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -791,7 +791,7 @@ namespace { }; typedef ScopeRAII<false> BlockScopeRAII; typedef ScopeRAII<true> FullExpressionRAII; -} // namespace +} bool SubobjectDesignator::checkSubobject(EvalInfo &Info, const Expr *E, CheckSubobjectKind CSK) { @@ -1091,7 +1091,7 @@ namespace { return false; return LHS.Path == RHS.Path; } -} // namespace +} static bool Evaluate(APValue &Result, EvalInfo &Info, const Expr *E); static bool EvaluateInPlace(APValue &Result, EvalInfo &Info, @@ -3210,7 +3210,7 @@ enum EvalStmtResult { /// Still scanning for 'case' or 'default' statement. ESR_CaseNotFound }; -} // namespace +} static bool EvaluateDecl(EvalInfo &Info, const Decl *D) { if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { @@ -4314,7 +4314,7 @@ public: } }; -} // namespace +} //===----------------------------------------------------------------------===// // Common base class for lvalue and temporary evaluation. @@ -4411,7 +4411,7 @@ public: } } }; -} // namespace +} //===----------------------------------------------------------------------===// // LValue Evaluation @@ -5153,7 +5153,7 @@ namespace { bool VisitCXXConstructExpr(const CXXConstructExpr *E); bool VisitCXXStdInitializerListExpr(const CXXStdInitializerListExpr *E); }; -} // namespace +} /// Perform zero-initialization on an object of non-union class type. /// C++11 [dcl.init]p5: @@ -6645,7 +6645,7 @@ private: } }; -} // namespace +} bool DataRecursiveIntBinOpEvaluator:: VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, @@ -8640,7 +8640,7 @@ struct ICEDiag { ICEDiag(ICEKind IK, SourceLocation l) : Kind(IK), Loc(l) {} }; -} // namespace +} static ICEDiag NoDiag() { return ICEDiag(IK_ICE, SourceLocation()); } |

