Skip to content
  1. Feb 09, 2013
  2. Feb 08, 2013
  3. Feb 01, 2013
  4. Jan 31, 2013
    • Tim Northover's avatar
      Add support for AArch64 target. · 9bb857a4
      Tim Northover authored
      In cooperation with the LLVM patch, this should implement all scalar front-end
      parts of the C and C++ ABIs for AArch64.
      
      This patch excludes the NEON support also reviewed due to an outbreak of
      batshit insanity in our legal department. That will be committed soon bringing
      the changes to precisely what has been approved.
      
      Further reviews would be gratefully received.
      
      llvm-svn: 174055
      9bb857a4
    • Douglas Gregor's avatar
      Reinstate r173952, this time limiting it to exactly the form · 1a347f76
      Douglas Gregor authored
        #define X X
      
      for which there is no point warning, ever.
      
      llvm-svn: 173991
      1a347f76
  5. Jan 30, 2013
  6. Jan 29, 2013
  7. Jan 28, 2013
  8. Jan 26, 2013
  9. Jan 25, 2013
  10. Jan 24, 2013
    • Jordan Rose's avatar
      Test fix-it ranges for Unicode characters. · d4960d3e
      Jordan Rose authored
      Also, remove stray -fdiagnostics-parseable-fixits from ucn-pp-identifier.
      
      llvm-svn: 173373
      d4960d3e
    • Jordan Rose's avatar
      Add a fixit for \U1234 -> \u1234. · 62db5066
      Jordan Rose authored
      llvm-svn: 173371
      62db5066
    • Jordan Rose's avatar
      Handle universal character names and Unicode characters outside of literals. · 7f43ddda
      Jordan Rose authored
      This is a missing piece for C99 conformance.
      
      This patch handles UCNs by adding a '\\' case to LexTokenInternal and
      LexIdentifier -- if we see a backslash, we tentatively try to read in a UCN.
      If the UCN is not syntactically well-formed, we fall back to the old
      treatment: a backslash followed by an identifier beginning with 'u' (or 'U').
      
      Because the spelling of an identifier with UCNs still has the UCN in it, we
      need to convert that to UTF-8 in Preprocessor::LookUpIdentifierInfo.
      
      Of course, valid code that does *not* use UCNs will see only a very minimal
      performance hit (checks after each identifier for non-ASCII characters,
      checks when converting raw_identifiers to identifiers that they do not
      contain UCNs, and checks when getting the spelling of an identifier that it
      does not contain a UCN).
      
      This patch also adds basic support for actual UTF-8 in the source. This is
      treated almost exactly the same as UCNs except that we consider stray
      Unicode characters to be mistakes and offer a fixit to remove them.
      
      llvm-svn: 173369
      7f43ddda
    • Bill Wendling's avatar
      Don't check lines beginning with '#', since they could contain a path with the... · 8879c43a
      Bill Wendling authored
      Don't check lines beginning with '#', since they could contain a path with the unexpected word in them.
      
      llvm-svn: 173307
      8879c43a
  11. Jan 17, 2013
    • Joey Gouly's avatar
    • Matt Beaumont-Gay's avatar
      Suppress all -Wunused-value warnings from macro body expansions. · 978cca9f
      Matt Beaumont-Gay authored
      This is inspired by a number of false positives in real code, including
      PR14968. I've added test cases reduced from these false positives to
      test/Sema/unused-expr.c, as well as corresponding test cases that pass the
      offending expressions as arguments to a no-op macro to ensure that we do warn
      there.
      
      This also removes my previous tweak from r166522/r166534, so that we warn on
      unused cast expressions in macro arguments.
      
      There were several test cases that were using -Wunused-value to test general
      diagnostic emission features; I changed those to use other warnings or warn on
      a macro argument expression. I stared at the test case for PR14399 for a while
      with Richard Smith and we believe the new test case exercises the same
      codepaths as before.
      
      llvm-svn: 172696
      978cca9f
  12. Jan 16, 2013
  13. Jan 10, 2013
  14. Jan 09, 2013
  15. Jan 02, 2013
  16. Dec 20, 2012
  17. Dec 14, 2012
  18. Dec 12, 2012
  19. Dec 06, 2012
  20. Nov 17, 2012
Loading