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 | 3a691a367c7d512a1448e0d88b34c1b05c07ce14 (patch) | |
| tree | c0e58f89132c05bcdd6dd7cf871f140e5faefedd /clang/lib/Parse/ParseTentative.cpp | |
| parent | 9137c399bd30a558668e47c9b6568a54716c98c3 (diff) | |
| download | bcm5719-llvm-3a691a367c7d512a1448e0d88b34c1b05c07ce14.tar.gz bcm5719-llvm-3a691a367c7d512a1448e0d88b34c1b05c07ce14.zip | |
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.
llvm-svn: 159060
Diffstat (limited to 'clang/lib/Parse/ParseTentative.cpp')
| -rw-r--r-- | clang/lib/Parse/ParseTentative.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseTentative.cpp b/clang/lib/Parse/ParseTentative.cpp index c2e539ca61f..8a5e7266d36 100644 --- a/clang/lib/Parse/ParseTentative.cpp +++ b/clang/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: |

