Skip to content
  1. Dec 12, 2012
  2. Dec 04, 2012
  3. Dec 03, 2012
  4. Dec 01, 2012
  5. Nov 30, 2012
    • Alexey Samsonov's avatar
      Fix a bug in APFloat.cpp: declare APFloat after fltSemantics it · 2b431d97
      Alexey Samsonov authored
      uses. APFloat::convert() takes the pointer to the fltSemantics
      variable, which is later accessed it in ~APFloat() desctructor.
      That is, semantics must still be alive at the moment we delete
      APFloat.
      
      Found by experimental AddressSanitizer use-after-scope checker.
      
      llvm-svn: 169047
      2b431d97
    • 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
  6. 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
  7. 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
  8. Nov 16, 2012
  9. Nov 15, 2012
  10. Nov 14, 2012
  11. Nov 13, 2012
  12. Nov 12, 2012
  13. Nov 08, 2012
  14. Nov 06, 2012
  15. Nov 05, 2012
  16. Nov 02, 2012
  17. Nov 01, 2012
  18. Oct 31, 2012
  19. Oct 29, 2012
  20. Oct 26, 2012
  21. Oct 17, 2012
  22. Oct 12, 2012
  23. Oct 10, 2012
  24. Oct 09, 2012
  25. Oct 02, 2012
  26. Oct 01, 2012
  27. Sep 28, 2012
Loading