]> granicus.if.org Git - clang/commit
Tighten up handling of __func__ and friends: it should be an array
authorChris Lattner <sabre@nondot.org>
Sat, 12 Jan 2008 18:39:25 +0000 (18:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 12 Jan 2008 18:39:25 +0000 (18:39 +0000)
commit1423ea4146f0f71e027adbcd04c9e715711d8063
tree2225c3d408b61d90cb3b90b3f6e2741ed168895e
parentfa28b30d5a1e93e5263be33e343532b900d2c643
Tighten up handling of __func__ and friends: it should be an array
of const char, and it should error if it occurs outside a function.

Is it valid in an objc method?  If so we should handle that too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45910 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/SemaExpr.cpp
include/clang/Basic/DiagnosticKinds.def
test/Sema/predef.c