_inline is an alias for inline in MSVC.

llvm-svn: 115785
This commit is contained in:
Francois Pichet 2010-10-06 13:02:48 +00:00
parent 5af766bb1e
commit f804a97d4f
2 changed files with 2 additions and 0 deletions

View File

@ -377,6 +377,7 @@ ALIAS("_fastcall" , __fastcall , KEYMS | KEYBORLAND)
ALIAS("_stdcall" , __stdcall , KEYMS | KEYBORLAND)
ALIAS("_thiscall" , __thiscall , KEYMS)
ALIAS("_uuidof" , __uuidof , KEYMS | KEYBORLAND)
ALIAS("_inline" , inline , KEYMS)
// Borland Extensions which should be disabled in strict conformance mode.
ALIAS("_pascal" , __pascal , KEYBORLAND)

View File

@ -21,6 +21,7 @@ void __forceinline InterlockedBitTestAndSet (long *Base, long Bit)
setc al
};
}
_inline int foo99() { return 99; }
void *_alloca(int);