]> granicus.if.org Git - clang/commit
Check for qualified function types after substituting into the operand
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 3 Oct 2019 18:55:23 +0000 (18:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 3 Oct 2019 18:55:23 +0000 (18:55 +0000)
commitc8297e1181cd7ac9a80a35f191ac1f6cc086d4ee
tree6c23aa33f89fbb6ff5f35a78c4c1189546587c29
parent04d93a17d3b65dff10fe481ae254b7137030400c
Check for qualified function types after substituting into the operand
of 'typeid'.

This is a rare place where it's valid for a function type to be
substituted but not valid for a qualified function type to be
substituted, so needs a special check.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373648 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaType.cpp
test/SemaTemplate/instantiate-expr-4.cpp