diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-06-23 02:07:59 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-06-23 02:07:59 +0000 |
commit | 28ad063b279378b19cb0704f977429df366a151e (patch) | |
tree | 4c797a94b4a042caaad08b236cca4b314c92be6e /lib/Parse/ParseTentative.cpp | |
parent | 3f835687b8f7ad3060fe4c462727b212ed714b30 (diff) |
Support L__FUNCTION__ in microsoft mode, PR11789
Heavily based on a patch from
Aaron Wishnick <aaron.s.wishnick@gmail.com>.
I'll clean up the duplicated function in CodeGen as
a follow-up, later today or tomorrow.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseTentative.cpp')
-rw-r--r-- | lib/Parse/ParseTentative.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/ParseTentative.cpp b/lib/Parse/ParseTentative.cpp index c2e539ca61..8a5e7266d3 100644 --- a/lib/Parse/ParseTentative.cpp +++ b/lib/Parse/ParseTentative.cpp @@ -744,6 +744,7 @@ Parser::isExpressionOrTypeSpecifierSimple(tok::TokenKind Kind) { case tok::kw___imag: case tok::kw___real: case tok::kw___FUNCTION__: + case tok::kw_L__FUNCTION__: case tok::kw___PRETTY_FUNCTION__: case tok::kw___has_nothrow_assign: case tok::kw___has_nothrow_copy: |