aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBalazs Keri <1.int32@gmail.com>2019-08-07 12:40:17 +0000
committerBalazs Keri <1.int32@gmail.com>2019-08-07 12:40:17 +0000
commite9719f9e9e96c8822acdefc3dfaf73a6b8fe5a15 (patch)
treee81d00048fb6fe5584789a4b149e38b0c29eb823 /clang/lib/Frontend/CompilerInvocation.cpp
parente5fa049efaf331cb3175703da59c2875bb652cca (diff)
downloadllvm-e9719f9e9e96c8822acdefc3dfaf73a6b8fe5a15.zip
llvm-e9719f9e9e96c8822acdefc3dfaf73a6b8fe5a15.tar.gz
llvm-e9719f9e9e96c8822acdefc3dfaf73a6b8fe5a15.tar.bz2
[ASTImporter] Do not import FunctionTemplateDecl in record twice.
Summary: For functions there is a check to not duplicate the declaration if it is in a record (class). For function templates there was no similar check, if a template (in the same class) was imported multiple times the FunctionTemplateDecl was created multiple times with the same templated FunctionDecl. This can result in problems with the declaration chain. Reviewers: martong, a.sidorin, shafik, a_sidorin Reviewed By: a_sidorin Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65203 llvm-svn: 368163
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions