diff options
author | John McCall <rjmccall@apple.com> | 2009-10-23 21:48:59 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-10-23 21:48:59 +0000 |
commit | 58e4677a948e80c92deeebbcd3bdd9266adda798 (patch) | |
tree | b320da7e060b86d24a052def706163c0668e5899 /lib/AST/DeclBase.cpp | |
parent | a4eb74d4dfe126c686dc708fec444c85ffb73b47 (diff) |
Remove OriginalTypeParmDecl; the original type is the one specified
in the DeclaratorInfo, if one is present.
Preserve source information through template instantiation. This is made
more complicated by the possibility that ParmVarDecls don't have DIs, which
is possibly worth fixing in the future.
Also preserve source information for function parameters in ObjC method
declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 224bf877ad..6cfdcdd3e5 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -199,7 +199,6 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case Var: case ImplicitParam: case ParmVar: - case OriginalParmVar: case NonTypeTemplateParm: case Using: case UnresolvedUsing: |