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 | c6e35aae23bc3cea7daf5ee075fa695c01c0f66f (patch) | |
tree | 628bee6ce0ee4423309c02baf6fba63e1e6bca27 /tools/clang-cc/PrintParserCallbacks.cpp | |
parent | d79bf3976ba83c8bd30dacf6a180fd3515610c38 (diff) |
Implement a FIXME, we now pass in the locations of the braces for enums.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-cc/PrintParserCallbacks.cpp')
-rw-r--r-- | tools/clang-cc/PrintParserCallbacks.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tools/clang-cc/PrintParserCallbacks.cpp b/tools/clang-cc/PrintParserCallbacks.cpp index 55d0d7f4f9..ceb0500c3f 100644 --- a/tools/clang-cc/PrintParserCallbacks.cpp +++ b/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. |