summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-01 17:25:47 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-01 17:25:47 +0000
commitb3a58b08e0430ba08de73026a3ff264d467190cc (patch)
tree795c95eb35cf75e63eaa4dd52595159eaef3a7da /clang/lib/AST
parent48e6bbffa135ac9eaf0d8df8a1ec06247e235d12 (diff)
downloadbcm5719-llvm-b3a58b08e0430ba08de73026a3ff264d467190cc.tar.gz
bcm5719-llvm-b3a58b08e0430ba08de73026a3ff264d467190cc.zip
Revert r126748, my second attempt at nested-name-specifier source
location information for elaborated types. *sigh* llvm-svn: 126753
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/TypeLoc.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/AST/TypeLoc.cpp b/clang/lib/AST/TypeLoc.cpp
index 98c46621f03..4b38dbac7b2 100644
--- a/clang/lib/AST/TypeLoc.cpp
+++ b/clang/lib/AST/TypeLoc.cpp
@@ -229,14 +229,6 @@ TypeLoc TypeLoc::IgnoreParensImpl(TypeLoc TL) {
return TL;
}
-void ElaboratedTypeLoc::initializeLocal(ASTContext &Context,
- SourceLocation Loc) {
- setKeywordLoc(Loc);
- NestedNameSpecifierLocBuilder Builder;
- Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc);
- setQualifierLoc(Builder.getWithLocInContext(Context));
-}
-
void DependentNameTypeLoc::initializeLocal(ASTContext &Context,
SourceLocation Loc) {
setKeywordLoc(Loc);
OpenPOWER on IntegriCloud