summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/BinaryStreamReader.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2018-12-06 09:35:04 +0000
committerSerge Pavlov <sepavloff@gmail.com>2018-12-06 09:35:04 +0000
commitacfcd78aec83512807718605faf698a20af26fdd (patch)
treedca76f2f8b300d6c7760f4ee0035e56bbb84eacc /llvm/lib/Support/BinaryStreamReader.cpp
parent1027249ec908cb8ccac238953ee969bc7e6d40aa (diff)
downloadbcm5719-llvm-acfcd78aec83512807718605faf698a20af26fdd.tar.gz
bcm5719-llvm-acfcd78aec83512807718605faf698a20af26fdd.zip
Diagnose friend function template redefinitions.
Friend function template defined in a class template becomes available if the enclosing class template is instantiated. Until the function template is used, it does not have a body, but still is considered a definition for the purpose of redeclaration checks. This change modifies redefinition check so that it can find the friend function template definitions in instantiated classes. Differential Revision: http://reviews.llvm.org/D21508 llvm-svn: 348473
Diffstat (limited to 'llvm/lib/Support/BinaryStreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud