[MS] Add L__FUNCSIG__ for compatibility
authorReid Kleckner <rnk@google.com>
Thu, 26 Jul 2018 23:18:44 +0000 (23:18 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 26 Jul 2018 23:18:44 +0000 (23:18 +0000)
commit4a83f0abd8177396493968332031085ff217c6d5
treed9c79a5604c5935bc671b1ee146995bb22e5db61
parentc6cf918f448bd3ba1f8f0feff9f97a1fc4e3b7ef
[MS] Add L__FUNCSIG__ for compatibility

Clang already has L__FUNCTION__ as a workaround for dealing with
pre-processor code that expects to be able to do L##__FUNCTION__ in a
macro. This patch implements the same logic for __FUNCSIG__.

Fixes PR38295.

llvm-svn: 338083
clang/include/clang/AST/Expr.h
clang/include/clang/Basic/TokenKinds.def
clang/lib/AST/Expr.cpp
clang/lib/Parse/ParseExpr.cpp
clang/lib/Parse/ParseTentative.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/Sema/ms_wide_predefined_expr.cpp