]> granicus.if.org Git - clang/commit
[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)
commit3eabc0d428ed870967574f5cca3771d2beb14777
tree2a18594642a543fc7563b702e8e4b05db5cd6e88
parent034aa09eac02832e77c7dc4fc638e53cf0f8aed3
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338083 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/Basic/TokenKinds.def
lib/AST/Expr.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseTentative.cpp
lib/Sema/SemaExpr.cpp
test/Sema/ms_wide_predefined_expr.cpp