diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-01-07 02:58:13 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-01-07 02:58:13 +0000 |
commit | 3cd47e7883dbfce73189b583850cea81e1d1d261 (patch) | |
tree | 23df342c47f75e18ae709ec5f92dc198ce4883ea /lib/AST/TypePrinter.cpp | |
parent | d88687fc8b3b6e0bce1f7cb83d347ef009ab5480 (diff) |
Do not use cdecl, fastcall, stdcall etc.. as identifier name. They are reserved keywords at least on MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r-- | lib/AST/TypePrinter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index 7e719be4e9..90406b7306 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -742,12 +742,12 @@ void TypePrinter::printAttributed(const AttributedType *T, break; } - case AttributedType::noreturn: S += "noreturn"; break; - case AttributedType::cdecl: S += "cdecl"; break; - case AttributedType::fastcall: S += "fastcall"; break; - case AttributedType::stdcall: S += "stdcall"; break; - case AttributedType::thiscall: S += "thiscall"; break; - case AttributedType::pascal: S += "pascal"; break; + case AttributedType::attr_noreturn: S += "noreturn"; break; + case AttributedType::attr_cdecl: S += "cdecl"; break; + case AttributedType::attr_fastcall: S += "fastcall"; break; + case AttributedType::attr_stdcall: S += "stdcall"; break; + case AttributedType::attr_thiscall: S += "thiscall"; break; + case AttributedType::attr_pascal: S += "pascal"; break; } S += "))"; } |