diff options
| author | Steve Naroff <snaroff@apple.com> | 2007-09-15 18:49:24 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2007-09-15 18:49:24 +0000 |
| commit | 30d242c99f44aede543dbf1aff270d3445247032 (patch) | |
| tree | 7ff8ea500c0309928de8eb9a42b3d218f405c07f /clang/Sema/SemaType.cpp | |
| parent | 29f99d7142237ae8ff18a6b381451f94156494f2 (diff) | |
| download | bcm5719-llvm-30d242c99f44aede543dbf1aff270d3445247032.tar.gz bcm5719-llvm-30d242c99f44aede543dbf1aff270d3445247032.zip | |
Start converting Action methods from Parse-prefix to ActOn-prefix.
The previous naming scheme was confusing, since it resulted in both the Parser and Action modules having methods with the same name. In addition, the Action module never does any parsing...
llvm-svn: 41986
Diffstat (limited to 'clang/Sema/SemaType.cpp')
| -rw-r--r-- | clang/Sema/SemaType.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Sema/SemaType.cpp b/clang/Sema/SemaType.cpp index bf8d48b553d..5340928a192 100644 --- a/clang/Sema/SemaType.cpp +++ b/clang/Sema/SemaType.cpp @@ -318,7 +318,7 @@ QualType Sema::GetTypeForDeclarator(Declarator &D, Scope *S) { return T; } -Sema::TypeResult Sema::ParseTypeName(Scope *S, Declarator &D) { +Sema::TypeResult Sema::ActOnTypeName(Scope *S, Declarator &D) { // C99 6.7.6: Type names have no identifier. This is already validated by // the parser. assert(D.getIdentifier() == 0 && "Type name should have no identifier!"); @@ -334,7 +334,7 @@ Sema::TypeResult Sema::ParseTypeName(Scope *S, Declarator &D) { } // Called from Parser::ParseParenDeclarator(). -Sema::TypeResult Sema::ParseParamDeclaratorType(Scope *S, Declarator &D) { +Sema::TypeResult Sema::ActOnParamDeclaratorType(Scope *S, Declarator &D) { // Note: parameters have identifiers, but we don't care about them here, we // just want the type converted. QualType T = GetTypeForDeclarator(D, S); |

