Skip to content
  1. Jan 12, 2012
  2. Jan 11, 2012
  3. Jan 10, 2012
  4. Jan 09, 2012
    • Nico Weber's avatar
    • Douglas Gregor's avatar
      Always allow redefinition of typedefs when modules are enabled. This · dbd93bfc
      Douglas Gregor authored
      is important because it's fairly common for headers (especially system
      headers) to want to provide only those typedefs needed for that
      particular header, based on some guard macro, e.g.,
      
      #ifndef _SIZE_T
      #define _SIZE_T
      typedef long size_t;
      #endif
      
      which is repeated in a number of headers. The guard macro protects
      against duplicate definitions. However, this means that only the first
      occurrence of this pattern actually defines size_t, so the submodule
      corresponding to this header has the only visible definition. If a
      user then imports a different submodule from the same module, size_t
      will be known but not visible, and therefore cannot be used.
      
      By allowing redefinition of typedefs, each header that wants to define
      size_t can do so independently, so it will be available in the
      corresponding submodules.
      
      llvm-svn: 147775
      dbd93bfc
    • Abramo Bagnara's avatar
      Made unknown builtin diagnostic remappable. · 3732fa54
      Abramo Bagnara authored
      llvm-svn: 147774
      3732fa54
  5. Jan 07, 2012
  6. Jan 06, 2012
  7. Jan 05, 2012
Loading