Commit Graph

697 Commits

Author SHA1 Message Date
Phillip Stephens f298113c4e
Fix code generation for Endian template parameter values on LLVM 11 2020-12-11 19:49:16 -08:00
Luke Street be2e0e0b72 SIMD updates from zeus 2020-10-21 02:00:44 -04:00
Luke Street bec2665741 Disable tests when included as subdirectory 2020-10-21 00:22:22 -04:00
Luke Street b690d4d7da Update zlib from 1.2.7 to 1.2.11 2020-10-21 00:21:31 -04:00
Jack Andersen 0a81594056 Apply things learned from making hsh to atdna 2020-09-28 10:48:27 -10:00
Luke Street 4e29ba7d8f DNAOp: Fix clang -Wrange-loop-analysis errors 2020-09-18 16:26:27 -04:00
Luke Street 5489a25fbe Updates for Clang 10 on Windows 2020-09-06 01:39:12 -04:00
Phillip Stephens 347d807a23
Fix zlib 2020-06-13 20:44:15 -07:00
Luke Street 0bc400b4d9 extern/zlib: Use find_library 2020-06-13 17:18:23 -04:00
Luke Street 1b8b7f6819 DNAYaml: Correctly initialize yaml events 2020-06-10 00:13:49 -04:00
Luke Street dec27c05ed Use CMake MSVC_RUNTIME_LIBRARY to control MSVC flags 2020-05-27 21:37:03 -04:00
Luke Street 6c52de489f Add Homebrew LLVM path hint 2020-05-24 11:50:37 -04:00
Jack Andersen aa07559839 Merge branch 'master' of ssh://git.axiodl.com:6431/libAthena/athena 2020-05-06 13:10:10 -10:00
Jack Andersen 6adb8f341c Move atdna macro to separate helper file for future deployment 2020-05-06 13:09:48 -10:00
Phillip Stephens 07b015782b
Fix compiling with clang-10 2020-04-22 03:36:08 -07:00
Luke Street 503cc155c6 Windows build fixes 2020-04-19 21:11:57 -04:00
Lioncash 25d3ed0f33 DNAOp: Make use of template keyword for dependent templates
Prevents potential ambiguities from occurring.
2020-04-18 03:55:41 -04:00
Lioncash f5ad22ecf4 MemoryReader/MemoryWriter: Remove unnecessary reinterpret_casts
In most cases, these can be static casts or removed entirely.
2020-04-18 03:46:27 -04:00
Luke Street 1aa27c7289 Use QualType::getAsString(PrintingPolicy&) to honor bool output option 2020-04-17 14:21:30 -04:00
Phillip Stephens 3c5b138306
Fix `_Bool` error 2020-04-17 11:11:01 -07:00
Phillip Stephens aa94bdadc4
Downgrade aggressive fatal to error 2020-04-15 06:35:32 -07:00
Luke Street c7c4909e33 Add LLVMRemarks & LLVMBitStreamReader to atdna link 2020-04-14 20:58:07 -04:00
Luke Street 7ed8784b50 Compression: Support gzip in decompressZlib 2020-04-14 20:58:07 -04:00
Jack Andersen 30fe237210 Update fmtlib 2020-04-11 12:46:42 -10:00
Jack Andersen ebda6add23 Exclude CMake CXX standard from MSVC 2020-04-10 18:54:35 -10:00
Jack Andersen 9c39a038a5 Allow AT_DNA_COUNT to accept __VA_ARGS__ 2020-04-08 20:02:54 -10:00
Jack Andersen 6f55ae4d26 Support for generating DNA on explicit class specializations 2020-04-08 19:19:07 -10:00
Phillip Stephens d0eef5eab7
Merge pull request #73 from encounter/patch-1
Fix build error in MemoryReader.cpp
2019-12-10 20:47:19 -08:00
Luke S dcc85e38ea
Fix build error in MemoryReader.cpp 2019-12-10 16:41:05 -05:00
Phillip Stephens eb41d349dc
Fix stand alone compiling, minor code updates 2019-12-08 13:32:50 -08:00
Phillip Stephens 9771af88ed
Merge pull request #69 from lioncash/cast
IStreamWriter: Eliminate several casts
2019-10-20 18:40:40 -07:00
Phillip Stephens 182c4ff54f
Merge pull request #70 from lioncash/prototype
IStream: Remove unimplemented operator<< prototype
2019-10-20 18:40:31 -07:00
Phillip Stephens ed83cc0f5e
Merge pull request #71 from lioncash/fmt
Global: Remove compatibility formatting define for size_t
2019-10-20 18:40:23 -07:00
Phillip Stephens 9a2277091f
Merge pull request #72 from lioncash/constexpr
DNAYaml: Make use of if constexpr where applicable
2019-10-20 18:40:14 -07:00
Lioncash e7f7867f32 DNAYaml: Make use of if constexpr within NodeToVec()
Only the constexpr isDouble variable is tested within the conditional,
so we can make use of if constexpr here.
2019-10-19 07:13:51 -04:00
Lioncash 120b3d1281 DNAYaml: Collapse SFINAE functions into single function
We can leverage if constexpr here to determine which branch of code to
instantiate, eliminating the need for the use of SFINAE.
2019-10-19 07:10:50 -04:00
Lioncash 93dacd4231 Global: Remove compatibility formatting define for size_t
Given the use of fmt, we can trivially remove the remaining usages of
this define and remove it from the Global header.
2019-10-19 06:39:48 -04:00
Lioncash 7f6ac632f1 test: Directly use specifier for size_t 2019-10-19 06:30:04 -04:00
Lioncash cf91ead01b IStream: Remove unimplemented operator<< prototype
The proper prototype and implementation lies within Global.cpp/.hpp,
which takes a const reference rather than a non-const reference.
2019-10-19 05:32:23 -04:00
Lioncash 1f870c9940 IStreamWriter: Eliminate several casts
We can leverage writeBytes as opposed to writeUBytes to eliminate all
but one cast.
2019-10-19 05:23:55 -04:00
Jack Andersen 03f9314a2a Use llvm's optional 2019-10-18 15:31:35 -10:00
Jack Andersen ee012692ba Fix memory-related problems triggered by emplace_back + copy elision 2019-10-12 18:50:46 -10:00
Jack Andersen 42581c922a Merge branch 'master' of ssh://git.axiodl.com:6431/libAthena/athena 2019-09-30 21:16:11 -10:00
Jack Andersen c7b6744509 Numerous code style improvements 2019-09-30 21:10:47 -10:00
Phillip Stephens a9039e04e6
Fix AT_SPECIALIZE_* endian references 2019-09-27 20:37:48 -07:00
Phillip Stephens 2ab6a6d75d
Merge pull request #68 from lioncash/endian
General: Make Endian an enum class
2019-09-26 06:53:06 -07:00
Lioncash 776cb1d04f General: Make Endian an enum class
Makes the type strongly typed and not susceptible to implicit
conversions.
2019-09-23 18:59:28 -04:00
Phillip Stephens c28f77f75e
Merge pull request #67 from lioncash/class
Global: Make SeekOrigin an enum class
2019-09-14 08:37:58 -07:00
Lioncash 9bde23011f Global: Make SeekOrigin an enum class
Makes the enumeration strongly typed and also allows forward declaring
the enumeration type as well.
2019-09-14 10:39:15 -04:00
Phillip Stephens 2392dde366
Merge pull request #66 from lioncash/seek
General: Be explicit about SeekOrigin and Endian types
2019-09-10 04:05:41 -07:00