Skip to content
  1. Nov 08, 2013
  2. Nov 06, 2013
  3. Nov 05, 2013
  4. Nov 04, 2013
    • Rafael Espindola's avatar
      Use aliases for more constructors and destructors. · 3f643bd1
      Rafael Espindola authored
      With this patch we produce alias for cases like
      
      template<typename T>
      struct foobar {
        foobar() {
        }
      };
      template struct foobar<void>;
      
      We just have to be careful to produce the same aliases in every TU because
      of comdats.
      
      llvm-svn: 194000
      3f643bd1
    • David Majnemer's avatar
      Sema: Do not allow overloading between methods based on restrict · 42350dfc
      David Majnemer authored
      If the sole distinction between two declarations is that one has a
      __restrict qualifier then we should not consider it to be an overload.
      
      Instead, we will consider it as an incompatible redeclaration which is
      similar to how MSVC, ICC and GCC would handle it.
      
      This fixes PR17786.
      
      N.B. We must not mangle in __restrict into method qualifiers becase we
      don't allow overloading between such declarations anymore.  To do
      otherwise would be a violation of the Itanium ABI.
      
      llvm-svn: 193964
      42350dfc
  5. Nov 02, 2013
  6. Oct 30, 2013
  7. Oct 29, 2013
  8. Oct 26, 2013
  9. Oct 23, 2013
    • David Majnemer's avatar
      AST: Mangle fields in anonymous structs/unions · 0eb8bbde
      David Majnemer authored
      The Itanium mangler couldn't cope with mangling an IndirectFieldDecl.
      Instead, mangle the field the IndirectFieldDecl refers to.
      
      Further, give IndirectFieldDecl no linkage just like FieldDecl.
      
      N.B. Decl.cpp:getLVForNamespaceScopeDecl tried to calculate linkage for
      data members of anonymous structs/unions.  However, this seems
      impossible so turn it into an assertion.
      
      llvm-svn: 193269
      0eb8bbde
    • Richard Smith's avatar
      Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted · 6b53e224
      Richard Smith authored
      check using the ubsan runtime) and -fsanitize=local-bounds (for the middle-end
      check which inserts traps).
      
      Remove -fsanitize=local-bounds from -fsanitize=undefined. It does not produce
      useful diagnostics and has false positives (PR17635), and is not a good
      compromise position between UBSan's checks and ASan's checks.
      
      Map -fbounds-checking to -fsanitize=local-bounds to restore Clang's historical
      behavior for that flag.
      
      llvm-svn: 193205
      6b53e224
  10. Oct 22, 2013
  11. Oct 20, 2013
  12. Oct 17, 2013
  13. Oct 16, 2013
  14. Oct 15, 2013
  15. Oct 11, 2013
  16. Oct 10, 2013
Loading