diff options
| author | John McCall <rjmccall@apple.com> | 2010-06-04 11:21:44 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-06-04 11:21:44 +0000 |
| commit | a3ccba0417f909fd7292af0e9e788e924046d85c (patch) | |
| tree | 2a4baa247ce2652b53c610890dddc7496f5b3ee2 /clang/lib/Sema/Sema.h | |
| parent | 52d6350dd202a521050164afb75ceadccbe9a084 (diff) | |
| download | bcm5719-llvm-a3ccba0417f909fd7292af0e9e788e924046d85c.tar.gz bcm5719-llvm-a3ccba0417f909fd7292af0e9e788e924046d85c.zip | |
Restructure how we interpret block-literal declarators. Correctly handle
the case where we pick up block arguments from a typedef. Save the block
signature as it was written, and preserve same through PCH.
llvm-svn: 105466
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index e4e63c330b2..32cd6dcc5cb 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -841,6 +841,9 @@ public: bool &OverloadableAttrRequired); void CheckMain(FunctionDecl *FD); virtual DeclPtrTy ActOnParamDeclarator(Scope *S, Declarator &D); + ParmVarDecl *BuildParmVarDeclForTypedef(DeclContext *DC, + SourceLocation Loc, + QualType T); ParmVarDecl *CheckParameter(DeclContext *DC, TypeSourceInfo *TSInfo, QualType T, IdentifierInfo *Name, |

