1. Dec 19, 2016
    • Richard Smith's avatar
      Fix name hiding and redeclaration checking for dependent local · 4eeaec46
      Richard Smith authored
      using-declarations.
      
      llvm-svn: 290072
      4eeaec46
    • Richard Smith's avatar
      Fix some interactions between C++11 and C++14 features and using-declarations: · d8a9e375
      Richard Smith authored
       * a dependent non-type using-declaration within a function template can be
         valid, as it can refer to an enumerator, so don't reject it in the template
         definition
       * we can partially substitute into a dependent using-declaration if it appears
         within a (local class in a) generic lambda within a function template, which
         means an UnresolvedUsing*Decl doesn't necessarily instantiate to a UsingDecl.
      
      llvm-svn: 290071
      d8a9e375
    • Tom de Vries's avatar
      [FileCheck] Fix --strict-whitespace --match-full-lines -- add test-case · 601d5baf
      Tom de Vries authored
      Add test-case that was missing in "[FileCheck] Fix --strict-whitespace
      --match-full-lines" commit.
      
      llvm-svn: 290070
      601d5baf
    • Tom de Vries's avatar
      [FileCheck] Fix --strict-whitespace --match-full-lines · 1714676a
      Tom de Vries authored
      Make sure FileCheck --strict-whitespace --match-full-lines translates
      'CHECK: bla ' into pattern '^ bla $' instead of pattern '^bla$'.
      
      llvm-svn: 290069
      1714676a
    • David Majnemer's avatar
      [PDB] Don't use the long type · b7477b54
      David Majnemer authored
      Long is not the same size across a number of the platforms we support.
      Use unsigned int here instead, it is more appropriate because
      overflow/wrap-around is possible and, in this case, expected.
      
      llvm-svn: 290068
      b7477b54
    • Sanjay Patel's avatar
      [InstCombine] use commutative matchers for patterns with commutative operators · 2b9d4b4d
      Sanjay Patel authored
      Background/motivation - I was circling back around to:
      https://llvm.org/bugs/show_bug.cgi?id=28296
      
      I made a simple patch for that and noticed some regressions, so added test cases for
      those with rL281055, and this is hopefully the minimal fix for just those cases.
      
      But as you can see from the surrounding untouched folds, we are missing commuted patterns
      all over the place, and of course there are no regression tests to cover any of those cases.
      
      We could sprinkle "m_c_" dust all over this file and catch most of the missing folds, but 
      then we still wouldn't have test coverage, and we'd still miss some fraction of commuted 
      patterns because they require adjustments to the match order.
      
      I'm aware of the concern about the potential compile-time performance impact of adding 
      matches like this (currently being discussed on llvm-dev), but I don't think there's any
      evidence yet to suggest that handling commutative pattern matching more thoroughly is not
      a worthwhile goal of InstCombine.
      
      Differential Revision: https://reviews.llvm.org/D24419
      
      llvm-svn: 290067
      2b9d4b4d
  2. Dec 18, 2016
  3. Dec 17, 2016