r225835 - Add [extern_c] attribute to _Builtin_intrinsics module

Ben Langmuir blangmuir at apple.com
Tue Jan 13 13:54:32 PST 2015


Author: benlangmuir
Date: Tue Jan 13 15:54:32 2015
New Revision: 225835

URL: http://llvm.org/viewvc/llvm-project?rev=225835&view=rev
Log:
Add [extern_c] attribute to _Builtin_intrinsics module

This allows users to import this module inside an extern "C" {} block.

Modified:
    cfe/trunk/lib/Headers/module.modulemap

Modified: cfe/trunk/lib/Headers/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/module.modulemap?rev=225835&r1=225834&r2=225835&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/module.modulemap (original)
+++ cfe/trunk/lib/Headers/module.modulemap Tue Jan 13 15:54:32 2015
@@ -1,4 +1,4 @@
-module _Builtin_intrinsics [system] {
+module _Builtin_intrinsics [system] [extern_c] {
   explicit module altivec {
     requires altivec
     header "altivec.h"





More information about the cfe-commits mailing list