aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2015-08-23 10:22:28 +0000
committerSerge Pavlov <sepavloff@gmail.com>2015-08-23 10:22:28 +0000
commit73c6a2448f24d13e16f34d46095ef7ad4bd1f145 (patch)
treefc6716a8bd34d19bb692312d00e1288344ff8f4b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent1ac884d73afdc0c52c82e753cc45ae4887e753f7 (diff)
downloadllvm-73c6a2448f24d13e16f34d46095ef7ad4bd1f145.zip
llvm-73c6a2448f24d13e16f34d46095ef7ad4bd1f145.tar.gz
llvm-73c6a2448f24d13e16f34d46095ef7ad4bd1f145.tar.bz2
Instantiate function declarations in instantiated functions.
If a function declaration is found inside a template function as in: template<class T> void f() { void g(int x = T::v) except(T::w); } it must be instantiated along with the enclosing template function, including default arguments and exception specification. Together with the patch committed in r240974 this implements DR1484. Differential Revision: http://reviews.llvm.org/D11194 llvm-svn: 245810
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions