[PATCH] Begin implementing Plan 9 C extensions.

Arthur O'Dwyer arthur.j.odwyer at gmail.com
Thu Oct 2 10:23:38 PDT 2014


================
Comment at: lib/Sema/SemaDecl.cpp:1772
@@ -1771,3 +1771,3 @@
 
-  // Modules always permit redefinition of typedefs, as does C11.
-  if (getLangOpts().Modules || getLangOpts().C11)
+  // Modules always permit redefinition of typedefs, as does C11 and Plan 9.
+  if (getLangOpts().Modules || getLangOpts().C11 || getLangOpts().Plan9Ext)
----------------
"as **do** C11 and Plan 9"

http://reviews.llvm.org/D3853






More information about the cfe-commits mailing list