1. 02 Aug, 2024 1 commit
    • Josiah VanderZee's avatar
      Use c-strings to constant initialize token array · 9f7babc3
      Josiah VanderZee authored
      Since `std::string` has to be dynamically constructed and destructed,
      it could be accessed before initialization or after destruction in a
      multithreaded context. By using constant c-strings instead, we guarantee
      that the array will be valid for the whole lifetime of the program. The
      use of `constexpr` also enforces this requirement.
      
      I have run clang-format on the file to format my changes according to
      CONTRIBUTING.md.
      9f7babc3
  2. 05 Oct, 2019 1 commit
  3. 13 Mar, 2019 1 commit
    • Ted Lyngmo's avatar
      Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686) · 0d5c5715
      Ted Lyngmo authored
      * Add compilation flags: -Wshadow -Weffc++ -pedantic -pedantic-errors
      * Delete implicit copy & move constructors & assignment operators
        in classes with pointer data members.
      * An exception to the above: Add default copy & move constructors &
        assignment operators for the Binary class.
      * Convert boolean RegEx operators to binary operators.
      * Initialize all members in all classes in ctors.
      * Let default ctor delegate to the converting ctor in
        Binary and RegEx
      * Don't change any tests except regex_test (as a result of the change
        to binary operators).
      
      Note: https://bugzilla.redhat.com/show_bug.cgi?id=1544675 makes
      -Weffc++ report a false positive in "include/yaml-cpp/node/impl.h".
      0d5c5715
  4. 30 Mar, 2015 1 commit
  5. 24 Mar, 2014 1 commit
  6. 22 Mar, 2014 1 commit
  7. 06 Sep, 2011 1 commit
  8. 02 Mar, 2011 1 commit
  9. 19 Oct, 2010 1 commit
  10. 18 Oct, 2010 1 commit
  11. 01 May, 2010 1 commit
  12. 29 Oct, 2009 2 commits
  13. 05 Sep, 2009 1 commit
  14. 24 Aug, 2009 1 commit
  15. 19 Aug, 2009 1 commit
  16. 30 Jul, 2009 2 commits
  17. 29 Jul, 2009 1 commit
  18. 27 Jul, 2009 1 commit
  19. 10 Jul, 2009 1 commit
  20. 03 Sep, 2008 1 commit
  21. 07 Aug, 2008 1 commit
  22. 14 Jul, 2008 1 commit
  23. 08 Jul, 2008 1 commit
  24. 30 Jun, 2008 2 commits
  25. 29 Jun, 2008 3 commits
  26. 28 Jun, 2008 2 commits
  27. 27 Jun, 2008 2 commits
  28. 26 Jun, 2008 3 commits