]> granicus.if.org Git - clang/commit
Don't suggest 'noreturn' for function template instantiations, because
authorDouglas Gregor <dgregor@apple.com>
Mon, 10 Oct 2011 18:15:57 +0000 (18:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 10 Oct 2011 18:15:57 +0000 (18:15 +0000)
commitfcdd2cb2fdf35f806dd800b369fe0772a1c8c26c
tree2a9f66fa71d0039b02f8cda663c1f3289a43ca6b
parent72a81d239d6e72fab285c3a8a022c733c5e6beb4
Don't suggest 'noreturn' for function template instantiations, because
it might be wrong for other instantiations of the same function
template. Fixes PR10801.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141559 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/AnalysisBasedWarnings.cpp
test/SemaCXX/warn-missing-noreturn.cpp