Skip to content
  1. Jul 06, 2011
  2. Jul 05, 2011
  3. Jul 04, 2011
  4. Jul 02, 2011
  5. Jul 01, 2011
    • Douglas Gregor's avatar
      When adding boolean keywords for typo correction, add either "bool" or · 3b22a884
      Douglas Gregor authored
      "_Bool" (depending on dialect), but not both, since they have the same
      edit distance from "Bool".
      
      llvm-svn: 134263
      3b22a884
    • Richard Trieu's avatar
      Fix for PR7410. Allow functions in a derived class that improperly overwrite a... · 95d88093
      Richard Trieu authored
      Fix for PR7410. Allow functions in a derived class that improperly overwrite a virtual function in the base class to be inserted into the derived class function list to prevent extra errors every time the derived class is used.
      
      llvm-svn: 134251
      95d88093
    • Richard Smith's avatar
      Fix AST representations of alias-declarations which define tag types. Inside... · cd1c0555
      Richard Smith authored
      Fix AST representations of alias-declarations which define tag types. Inside classes, the tag types need to have an associated access specifier, and inside function definitions, they need to be included in the declarations of the DeclStmt. These issues manifested as assertions during template instantiation, and also in a WIP constexpr patch.
      
      llvm-svn: 134250
      cd1c0555
    • Douglas Gregor's avatar
      Introduce the notion of instantiation dependence into Clang's AST. A · 678d76c0
      Douglas Gregor authored
      type/expression/template argument/etc. is instantiation-dependent if
      it somehow involves a template parameter, even if it doesn't meet the
      requirements for the more common kinds of dependence (dependent type,
      type-dependent expression, value-dependent expression).
      
      When we see an instantiation-dependent type, we know we always need to
      perform substitution into that instantiation-dependent type. This
      keeps us from short-circuiting evaluation in places where we
      shouldn't, and lets us properly implement C++0x [temp.type]p2.
      
      In theory, this would also allow us to properly mangle
      instantiation-dependent-but-not-dependent decltype types per the
      Itanium C++ ABI, but we aren't quite there because we still mangle
      based on the canonical type in cases like, e.g.,
      
        template<unsigned> struct A { };
        template<typename T>
          void f(A<sizeof(sizeof(decltype(T() + T())))>) { }
        template void f<int>(A<sizeof(sizeof(int))>);
      
      and therefore get the wrong answer.
      
      llvm-svn: 134225
      678d76c0
  6. Jun 30, 2011
  7. Jun 29, 2011
  8. Jun 28, 2011
Loading