summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-02 22:36:29 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-02 22:36:29 +0000
commitc8c44b5d676d7d3fada4bf64d06cd5cf901a7748 (patch)
tree9bc0dbabd964ab79e9010ca61f87a25e09bbfe9d /clang/lib/Sema/Sema.h
parenta3b825edd1aa8297bea29c28c0bfc6453931172e (diff)
downloadbcm5719-llvm-c8c44b5d676d7d3fada4bf64d06cd5cf901a7748.tar.gz
bcm5719-llvm-c8c44b5d676d7d3fada4bf64d06cd5cf901a7748.zip
Improve source location information for C++ member initializers in a
constructor, by keeping the DeclaratorInfo* rather than just the type and a single location. llvm-svn: 90355
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 2b48efb4952..bd41072d3a6 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -2110,10 +2110,13 @@ public:
MemInitResult BuildMemberInitializer(FieldDecl *Member, Expr **Args,
unsigned NumArgs, SourceLocation IdLoc,
+ SourceLocation LParenLoc,
SourceLocation RParenLoc);
- MemInitResult BuildBaseInitializer(QualType BaseType, Expr **Args,
- unsigned NumArgs, SourceLocation IdLoc,
+ MemInitResult BuildBaseInitializer(QualType BaseType,
+ DeclaratorInfo *BaseDInfo,
+ Expr **Args, unsigned NumArgs,
+ SourceLocation LParenLoc,
SourceLocation RParenLoc,
CXXRecordDecl *ClassDecl);
OpenPOWER on IntegriCloud