]> granicus.if.org Git - clang/commit
First half of CWG1962: decltype(__func__) should not be a reference type,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Nov 2014 19:30:41 +0000 (19:30 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Nov 2014 19:30:41 +0000 (19:30 +0000)
commit1d53e9cfbcf57d0a29475da315655e3c6e53f4a2
treec6526914d5b37fbe958462307275dd572dd7b943
parentd45e22102f8702a5280f100ebf0c503d65590321
First half of CWG1962: decltype(__func__) should not be a reference type,
because __func__ is supposed to act like a local static variable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221698 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.general/p8.cpp [new file with mode: 0644]