Skip to content
  1. Oct 23, 2013
  2. Oct 22, 2013
    • David Majnemer's avatar
      Sema: Allow IndirectFieldDecl to appear in a non-type template argument · 3ac84e6a
      David Majnemer authored
      We would not identify pointer-to-member construction in a non-type
      template argument if it was either a FieldDecl or a CXXMethodDecl.
      However, this would incorrectly reject declarations that were injected
      via an IndirectFieldDecl (e.g. a field inside of an anonymous union).
      
      This fixes PR17657.
      
      llvm-svn: 193203
      3ac84e6a
    • Rafael Espindola's avatar
      Consider hidden decls for isUsed checks. · 77c60085
      Rafael Espindola authored
      This fixes pr17624.
      
      A FIXME from Richard Smith:
      
      It seems to me that the root cause is that a per-Decl 'used' flag doesn't
      really make much sense in the way we use it now. I think we should either track
      whether that particular declaration is used (with isUsed scanning the entire
      redecl chain), or we should only have one flag for the entire redeclaration
      chain (perhaps by always looking at the flag on either the most recent decl or
      the canonical decl). Modeling it as "is this declaration or any previous
      declaration used" is weird, and requires contortions like the loop at the end
      of Sema::MarkFunctionReferenced.
      
      llvm-svn: 193202
      77c60085
    • Rui Ueyama's avatar
      [PECOFF] Add /manifestdependency command line option. · 9041c3bd
      Rui Ueyama authored
      llvm-svn: 193201
      9041c3bd
    • Rafael Espindola's avatar
      Treat aliases as definitions. · d53ffa0a
      Rafael Espindola authored
      This fixes pr17639.
      
      Before this patch clang would consider
      
      void foo(void) __attribute((alias("__foo")));
      
      a declaration. It now correctly handles it as a definition.
      
      Initial patch by Alp Toker. I added support for variables.
      
      llvm-svn: 193200
      d53ffa0a
    • Quentin Colombet's avatar
    • Matt Arsenault's avatar
      R600/SI: Don't assert on SCC usage · 65864e31
      Matt Arsenault authored
      llvm-svn: 193198
      65864e31
    • Manman Ren's avatar
      Debug Info: code clean up. · 642a0acc
      Manman Ren authored
      Remove unnecessary creation of LexicalScope in collectDeadVariables.
      The created LexicialScope was only used to get isAbstractScope, which
      should be false from the creation:
      "new LexicalScope(NULL, DIDescriptor(SP), NULL, false);".
      
      We can also remove a DenseMap that holds the created LexicalScopes.
      
      llvm-svn: 193196
      642a0acc
    • Rui Ueyama's avatar
      [PECOFF] Add /manifestfile command line option. · 9a02765b
      Rui Ueyama authored
      /manifestfile:<path> specifies an alternative manifest file output path.
      Default is "<output-path>.manifest" where <output-path> is the executable's
      path.
      
      llvm-svn: 193195
      9a02765b
    • David Blaikie's avatar
      Whitespace · 1e412eaa
      David Blaikie authored
      llvm-svn: 193194
      1e412eaa
    • David Blaikie's avatar
      DIEHashing: Provide an assert for unreachable functionality regarding friends. · 5ebc54d9
      David Blaikie authored
      Since (as of r190716) Clang no longer emits debug info for C++ friend
      declarations (and it seems GCC never has/does, which was the motivation
      for the Clang change), there's no actual reachable case for implementing
      the part of DWARF 4, Section 7.27 part 5 that pertains to friends.
      
      Leave an assert here so that if/when we do have a client producing
      friends and using type units, we can fill in the gap and add appropriate
      (unit and feature) tests.
      
      llvm-svn: 193193
      5ebc54d9
    • Bob Wilson's avatar
      llvm-cov: Use uint32_t for loop variables to be more consistent. · 868e6e33
      Bob Wilson authored
      The loop bounds here are uint32_t variables, so it makes sense for the
      loop variables to have the same type.
      
      Patch by Yuchen Wu!
      
      llvm-svn: 193192
      868e6e33
Loading