Skip to content
  1. Jan 24, 2012
  2. Jan 23, 2012
  3. Jan 22, 2012
  4. Jan 21, 2012
  5. Jan 20, 2012
  6. Jan 19, 2012
  7. Jan 18, 2012
    • Kaelyn Uhrain's avatar
      Convert SemaDecl.cpp to pass callback objects to CorrectTypo. · b1378408
      Kaelyn Uhrain authored
      Includes tests highlighting the cases where accuracy has improved
      (there is one call that does no filtering beyond selecting the set
      of allowed keywords, and one call that only triggers for ObjC code
      for which a test by someone who knows ObjC would be welcome). Also
      fixes a small typo in one of the suggestion messages, and drops a
      malformed "expected-note" for a suggestion that did not occur even
      when the malformed note was committed as r145930.
      
      llvm-svn: 148420
      b1378408
    • Fariborz Jahanian's avatar
      objc: deprecate direct usage of 'isa' of objc objects · 28324b00
      Fariborz Jahanian authored
      in favor of usage of api's intended for.
      // rdar://8290002
      
      llvm-svn: 148404
      28324b00
    • Seth Cantrell's avatar
      Fix char literal types in C · 02f86059
      Seth Cantrell authored
      L'x' is actually wchar_t
      
      support C11 u and U char literals
      
      llvm-svn: 148390
      02f86059
    • Kaelyn Uhrain's avatar
      Convert DiagnoseEmptyLookup to use correction callbacks. · 79d01c17
      Kaelyn Uhrain authored
      No new unit tests yet as there is no behavioral change
      (except for slightly more specific filtering in
      Sema::ActOnStartOfLambdaDefinition). Tests will be added
      as the code paths are traced in greater depth to determine
      how to improve the results--there are at least one or two
      known bugs that require those improvements. This commit
      lays the groundwork for those changes.
      
      llvm-svn: 148382
      79d01c17
    • Richard Smith's avatar
      Move narrowing conversion detection code from SemaInit to SemaOverload, ready · 66e05fe6
      Richard Smith authored
      for it to be used in converted constant expression checking, and fix a couple
      of issues:
       - Conversion operators implicitly invoked prior to the narrowing conversion
         were not being correctly handled when determining whether a constant value
         was narrowed.
       - For conversions from floating-point to integral types, the diagnostic text
         incorrectly always claimed that the source expression was not a constant
         expression.
      
      llvm-svn: 148381
      66e05fe6
    • Eli Friedman's avatar
      Make PotentiallyPotentiallyEvaluated contexts work correctly when referencing... · 7bda7f75
      Eli Friedman authored
      Make PotentiallyPotentiallyEvaluated contexts work correctly when referencing a class field from outside an instance method.
      
      llvm-svn: 148376
      7bda7f75
Loading