]> granicus.if.org Git - clang/commit
Remove OriginalTypeParmDecl; the original type is the one specified
authorJohn McCall <rjmccall@apple.com>
Fri, 23 Oct 2009 21:48:59 +0000 (21:48 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 23 Oct 2009 21:48:59 +0000 (21:48 +0000)
commit58e4677a948e80c92deeebbcd3bdd9266adda798
treeb320da7e060b86d24a052def706163c0668e5899
parenta4eb74d4dfe126c686dc708fec444c85ffb73b47
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
14 files changed:
include/clang/AST/Decl.h
include/clang/AST/DeclNodes.def
include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
include/clang/Frontend/PCHBitCodes.h
lib/AST/Decl.cpp
lib/AST/DeclBase.cpp
lib/AST/DeclPrinter.cpp
lib/Frontend/ASTConsumers.cpp
lib/Frontend/PCHReaderDecl.cpp
lib/Frontend/PCHWriter.cpp
lib/Frontend/PCHWriterDecl.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp