[cfe-commits] r134869 - in /cfe/trunk: include/clang/Basic/Builtins.def test/Parser/MicrosoftExtensions.c

Francois Pichet pichet2000 at gmail.com
Sun Jul 10 07:15:07 PDT 2011


Author: fpichet
Date: Sun Jul 10 09:15:07 2011
New Revision: 134869

URL: http://llvm.org/viewvc/llvm-project?rev=134869&view=rev
Log:
Change __debugbreak signature to void __debugbreak(void); MSVC compatibility.

Modified:
    cfe/trunk/include/clang/Basic/Builtins.def
    cfe/trunk/test/Parser/MicrosoftExtensions.c

Modified: cfe/trunk/include/clang/Basic/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.def?rev=134869&r1=134868&r2=134869&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def (original)
+++ cfe/trunk/include/clang/Basic/Builtins.def Sun Jul 10 09:15:07 2011
@@ -604,7 +604,7 @@
 // Microsoft builtins.
 BUILTIN(__assume, "vb", "n")
 BUILTIN(__noop, "v.", "n")
-BUILTIN(__debugbreak, "v.", "n")
+BUILTIN(__debugbreak, "v", "n")
 
 
 // C99 library functions

Modified: cfe/trunk/test/Parser/MicrosoftExtensions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/MicrosoftExtensions.c?rev=134869&r1=134868&r2=134869&view=diff
==============================================================================
--- cfe/trunk/test/Parser/MicrosoftExtensions.c (original)
+++ cfe/trunk/test/Parser/MicrosoftExtensions.c Sun Jul 10 09:15:07 2011
@@ -60,5 +60,5 @@
 {
   __noop();
   __assume(a);
-
+  __debugbreak();
 }





More information about the cfe-commits mailing list