Skip to content
  1. Nov 30, 2012
    • Chandler Carruth's avatar
      Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES. · f12e3a67
      Chandler Carruth authored
      Rationale:
      1) This was the name in the comment block. ;]
      2) It matches Clang's __has_feature naming convention.
      3) It matches other compiler-feature-test conventions.
      
      Sorry for the noise. =]
      
      I've also switch the comment block to use a \brief tag and not duplicate
      the name.
      
      llvm-svn: 168996
      f12e3a67
  2. Nov 28, 2012
    • Eli Bendersky's avatar
      Add backreference matching capabilities to Support/Regex, with · 10f22d70
      Eli Bendersky authored
      appropriate unit tests. This change in itself is not expected to
      affect any functionality at this point, but it will serve as a
      stepping stone to improve FileCheck's variable matching capabilities.
      
      Luckily, our regex implementation already supports backreferences,
      although a bit of hacking is required to enable it. It supports both
      Basic Regular Expressions (BREs) and Extended Regular Expressions
      (EREs), without supporting backrefs for EREs, following POSIX strictly
      in this respect. And EREs is what we actually use (rightly). This is
      contrary to many implementations (including the default on Linux) of
      POSIX regexes, that do allow backrefs in EREs.
      
      Adding backref support to our EREs is a very simple change in the
      regcomp parsing code. I fail to think of significant cases where it
      would clash with existing things, and can bring more versatility to
      the regexes we write. There's always the danger of a backref in a
      specially crafted regex causing exponential matching times, but since
      we mainly use them for testing purposes I don't think it's a big
      problem. [it can also be placed behind a flag specific to FileCheck,
      if needed].
      
      For more details, see:
      
      * http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-November/055840.html
      * http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121126/156878.html
      
      llvm-svn: 168802
      10f22d70
  3. Nov 20, 2012
    • Sean Silva's avatar
      Allow using MemoryBuffers with yaml::Stream directly. · aba8270d
      Sean Silva authored
      The rationale is to get YAML filenames in diagnostics from
      yaml::Stream::printError -- currently the filename is hard-coded as
      "YAML" because there's no buffer information available.
      
      Patch by Kim Gräsman!
      
      llvm-svn: 168341
      aba8270d
  4. Nov 16, 2012
  5. Nov 15, 2012
  6. Nov 14, 2012
  7. Nov 13, 2012
  8. Nov 12, 2012
  9. Nov 08, 2012
  10. Nov 06, 2012
  11. Nov 05, 2012
  12. Nov 02, 2012
  13. Nov 01, 2012
  14. Oct 31, 2012
  15. Oct 29, 2012
  16. Oct 26, 2012
  17. Oct 17, 2012
  18. Oct 12, 2012
  19. Oct 10, 2012
  20. Oct 09, 2012
  21. Oct 02, 2012
  22. Oct 01, 2012
  23. Sep 28, 2012
  24. Sep 27, 2012
  25. Sep 26, 2012
  26. Sep 25, 2012
  27. Sep 23, 2012
  28. Sep 22, 2012
  29. Sep 19, 2012
Loading