[PATCH] Add module flags metadata to record the settings for enum	and wchar width
    Renato Golin 
    renato.golin at linaro.org
       
    Fri Jun 20 02:38:13 PDT 2014
    
    
  
================
Comment at: lib/CodeGen/CodeGenModule.cpp:364
@@ +363,3 @@
+  // The minimum width of an enum in bytes
+  uint64_t EnumWidth = Context.getLangOpts().ShortEnums ? 1 : 4;;
+  getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth);
----------------
two semi-colons
http://reviews.llvm.org/D4212
    
    
More information about the cfe-commits
mailing list