Skip to content
  1. Jan 02, 2013
  2. Jan 01, 2013
  3. Dec 31, 2012
    • Michael J. Spencer's avatar
      [AlignOf] Add AlignedCharArray and refactor AlignedCharArrayUnion. · da3e31a4
      Michael J. Spencer authored
      This adds AlignedCharArray<Alignment, Size>. A templated struct that contains
      a member named buffer of type char[Size] that is aligned to Alignment.
      
      llvm-svn: 171319
      da3e31a4
    • Chandler Carruth's avatar
      Begin sketching out the process interface. · 97683aa2
      Chandler Carruth authored
      The coding style used here is not LLVM's style because this is modeled
      after a Boost interface and thus done in the style of a candidate C++
      standard library interface. I'll probably end up proposing it as
      a standard C++ library if it proves to be reasonably portable and
      useful.
      
      This is just the most basic parts of the interface -- getting the
      process ID out of it. However, it helps sketch out some of the boiler
      plate such as the base class, derived class, shared code, and static
      factory function. It also introduces a unittest so that I can
      incrementally ensure this stuff works.
      
      However, I've not even compiled this code for Windows yet. I'll try to
      fix any Windows fallout from the bots, and if I can't fix it I'll revert
      and get someone on Windows to help out. There isn't a lot more that is
      mandatory, so soon I'll switch to just stubbing out the Windows side and
      get Michael Spencer to help with implementation as he can test it
      directly.
      
      llvm-svn: 171289
      97683aa2
  4. Dec 21, 2012
  5. Dec 18, 2012
    • Jakob Stoklund Olesen's avatar
      Add an assertion for a likely ilist::splice() contract violation. · b8d29bf2
      Jakob Stoklund Olesen authored
      The single-element ilist::splice() function supports a noop move:
      
        List.splice(I, List, I);
      
      The corresponding std::list function doesn't allow that, so add a unit
      test to document that behavior.
      
      This also means that
      
        List.splice(I, List, F);
      
      is somewhat surprisingly not equivalent to
      
        List.splice(I, List, F, next(F));
      
      This patch adds an assertion to catch the illegal case I == F above.
      Alternatively, we could make I == F a legal noop, but that would make
      ilist differ even more from std::list.
      
      llvm-svn: 170443
      b8d29bf2
  6. Dec 17, 2012
  7. Dec 12, 2012
  8. Dec 09, 2012
  9. Dec 08, 2012
  10. Dec 05, 2012
  11. Dec 04, 2012
  12. Dec 03, 2012
  13. 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
  14. Nov 29, 2012
  15. Nov 28, 2012
  16. Nov 27, 2012
  17. 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
  18. Nov 17, 2012
  19. Nov 16, 2012
  20. Nov 14, 2012
  21. Nov 12, 2012
  22. Nov 10, 2012
  23. Nov 08, 2012
  24. Oct 31, 2012
Loading