summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/MinimalAction.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-11-18 02:36:19 +0000
committerJohn McCall <rjmccall@apple.com>2009-11-18 02:36:19 +0000
commite61f2ba7e44ac3f5b635dd639add8a745e175a62 (patch)
treea90a8b5ab567dff20ae464b27cc34ab0d1977ea7 /clang/lib/Parse/MinimalAction.cpp
parent0469b7ea00e97700646ca1a873dee4ada131689e (diff)
downloadbcm5719-llvm-e61f2ba7e44ac3f5b635dd639add8a745e175a62.tar.gz
bcm5719-llvm-e61f2ba7e44ac3f5b635dd639add8a745e175a62.zip
Incremental progress on using declarations. Split UnresolvedUsingDecl into
two classes, one for typenames and one for values; this seems to have some support from Doug if not necessarily from the extremely-vague-on-this-point standard. Track the location of the 'typename' keyword in a using-typename decl. Make a new lookup result for unresolved values and deal with it in most places. llvm-svn: 89184
Diffstat (limited to 'clang/lib/Parse/MinimalAction.cpp')
-rw-r--r--clang/lib/Parse/MinimalAction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Parse/MinimalAction.cpp b/clang/lib/Parse/MinimalAction.cpp
index a83966d91e6..7681eac6ed8 100644
--- a/clang/lib/Parse/MinimalAction.cpp
+++ b/clang/lib/Parse/MinimalAction.cpp
@@ -49,7 +49,8 @@ Action::DeclPtrTy Action::ActOnUsingDeclaration(Scope *CurScope,
const CXXScopeSpec &SS,
UnqualifiedId &Name,
AttributeList *AttrList,
- bool IsTypeName) {
+ bool IsTypeName,
+ SourceLocation TypenameLoc) {
// FIXME: Parser seems to assume that Action::ActOn* takes ownership over
// passed AttributeList, however other actions don't free it, is it
OpenPOWER on IntegriCloud