diff options
author | Mike Stump <mrs@apple.com> | 2009-05-16 07:06:02 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-05-16 07:06:02 +0000 |
commit | 6814d1c12624453138ea5451e2130e635fb9595e (patch) | |
tree | a31bd91e053576cb197edced1967d977cf4307bb /clang/tools/clang-cc/PrintParserCallbacks.cpp | |
parent | f0d32374741f608c92d536cbb1a394ce069ee648 (diff) | |
download | bcm5719-llvm-6814d1c12624453138ea5451e2130e635fb9595e.tar.gz bcm5719-llvm-6814d1c12624453138ea5451e2130e635fb9595e.zip |
Implement a FIXME, we now pass in the locations of the braces for enums.
llvm-svn: 71930
Diffstat (limited to 'clang/tools/clang-cc/PrintParserCallbacks.cpp')
-rw-r--r-- | clang/tools/clang-cc/PrintParserCallbacks.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/clang/tools/clang-cc/PrintParserCallbacks.cpp b/clang/tools/clang-cc/PrintParserCallbacks.cpp index 55d0d7f4f96..ceb0500c3f6 100644 --- a/clang/tools/clang-cc/PrintParserCallbacks.cpp +++ b/clang/tools/clang-cc/PrintParserCallbacks.cpp @@ -181,9 +181,9 @@ namespace { return DeclPtrTy(); } - //===--------------------------------------------------------------------===// + //===------------------------------------------------------------------===// // Type Parsing Callbacks. - //===--------------------------------------------------------------------===// + //===------------------------------------------------------------------===// virtual TypeResult ActOnTypeName(Scope *S, Declarator &D) { llvm::cout << __FUNCTION__ << "\n"; @@ -237,14 +237,15 @@ namespace { return DeclPtrTy(); } - virtual void ActOnEnumBody(SourceLocation EnumLoc, DeclPtrTy EnumDecl, + virtual void ActOnEnumBody(SourceLocation EnumLoc, SourceLocation LBraceLoc, + SourceLocation RBraceLoc, DeclPtrTy EnumDecl, DeclPtrTy *Elements, unsigned NumElements) { llvm::cout << __FUNCTION__ << "\n"; } - //===--------------------------------------------------------------------===// + //===------------------------------------------------------------------===// // Statement Parsing Callbacks. - //===--------------------------------------------------------------------===// + //===------------------------------------------------------------------===// virtual OwningStmtResult ActOnNullStmt(SourceLocation SemiLoc) { llvm::cout << __FUNCTION__ << "\n"; @@ -368,7 +369,7 @@ namespace { return StmtEmpty(); } virtual OwningStmtResult ActOnAsmStmt(SourceLocation AsmLoc, - bool IsSimple, + bool IsSimple, bool IsVolatile, unsigned NumOutputs, unsigned NumInputs, @@ -438,9 +439,9 @@ namespace { return StmtEmpty(); } - //===--------------------------------------------------------------------===// + //===------------------------------------------------------------------===// // Expression Parsing Callbacks. - //===--------------------------------------------------------------------===// + //===------------------------------------------------------------------===// // Primary Expressions. |