Skip to content
  1. Jul 23, 2011
    • Chris Lattner's avatar
      clean up forward declarations of raw_ostream to use the new LLVM.h · 95c664b3
      Chris Lattner authored
      patch by Jon Mulder!
      
      llvm-svn: 135851
      95c664b3
    • Sean Callanan's avatar
      This patch (thanks to Doug Gregor) fixes a · 81d577c5
      Sean Callanan authored
      problem where Clang was setting the
      hasExternalVisibleDecls() bit for all
      DeclContexts it imported.  This caused Clang
      to make unnecessary calls to
      findExternalVisibleDecls() when an external
      AST source was installed.
      
      In fact, Clang sometimes interpreted a failure
      by one of these spurious calls to find a
      Decl as meaning the Decl didn't exist, even
      though findExternalLexicalDecls() did locate
      that decl.  This produced amusing errors of
      the form:
      
      -
      error: no member named 'b' in 'A'; did you
      mean 'b'?
      -
      
      Now, if hasExternalVisibleDecls() or
      hasExternalLexicalDecls() should be set, the
      external AST source must do so itself.
      
      llvm-svn: 135824
      81d577c5
  2. Jul 22, 2011
  3. Jul 21, 2011
  4. Jul 20, 2011
Loading