diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-06 11:13:08 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-06 11:13:08 +0000 |
commit | bf8da9d7062b143f63596743232df6d05e6e8e34 (patch) | |
tree | e6b9cc28d76ca732e582b7ad64324d78d1cbda3f /clang/lib/Sema/SemaExpr.cpp | |
parent | ae87d7b4b2e32a073b47f72ce82edb8adc52cd70 (diff) | |
download | bcm5719-llvm-bf8da9d7062b143f63596743232df6d05e6e8e34.tar.gz bcm5719-llvm-bf8da9d7062b143f63596743232df6d05e6e8e34.zip |
Move instantiateTemplateAttribute into the sema namespace, make helpers static.
llvm-svn: 149864
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 2a9fd61d9c2..15dfb0b8c20 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -9325,7 +9325,7 @@ ExprResult Sema::HandleExprEvaluationContextForTypeof(Expr *E) { return TranformToPotentiallyEvaluated(E); } -bool IsPotentiallyEvaluatedContext(Sema &SemaRef) { +static bool IsPotentiallyEvaluatedContext(Sema &SemaRef) { // Do not mark anything as "used" within a dependent context; wait for // an instantiation. if (SemaRef.CurContext->isDependentContext()) |