diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-08 16:45:02 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-08 16:45:02 +0000 |
| commit | 32a0379575315dcc270f9c7099b052dbb7aa7a0d (patch) | |
| tree | 545dea10a5d2b337f5ad9cc7b301c125cf424751 /clang/lib/Sema/SemaExpr.cpp | |
| parent | c7e67a04c396ff684b5f4478b02f9959ac38635d (diff) | |
| download | bcm5719-llvm-32a0379575315dcc270f9c7099b052dbb7aa7a0d.tar.gz bcm5719-llvm-32a0379575315dcc270f9c7099b052dbb7aa7a0d.zip | |
Implement support for C++ nested-name-specifiers ('foo::bar::x') in the Parser side.
No Sema functionality change, just the signatures of the Action/Sema methods.
llvm-svn: 58913
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index d3650c8ae19..d638b8dc980 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -337,7 +337,8 @@ static bool ShouldSnapshotBlockValueReference(BlockSemaInfo *CurBlock, /// identifier is used in a function call context. Sema::ExprResult Sema::ActOnIdentifierExpr(Scope *S, SourceLocation Loc, IdentifierInfo &II, - bool HasTrailingLParen) { + bool HasTrailingLParen, + const CXXScopeSpec *SS) { // Could be enum-constant, value decl, instance variable, etc. Decl *D = LookupDecl(&II, Decl::IDNS_Ordinary, S); |

