diff options
author | Zachary Turner <zturner@google.com> | 2016-09-13 20:40:26 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-09-13 20:40:26 +0000 |
commit | a8b668432d6c4517cd2326b259fb58842016bce5 (patch) | |
tree | 65bce750233fc2e08ee293bbf3e0039dabc3bb9d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ab40f9d0ef9d8e8afefce9a4f44239fa23e76250 (diff) | |
download | llvm-a8b668432d6c4517cd2326b259fb58842016bce5.zip llvm-a8b668432d6c4517cd2326b259fb58842016bce5.tar.gz llvm-a8b668432d6c4517cd2326b259fb58842016bce5.tar.bz2 |
Add some unit tests for ArchSpec.
I'm was trying to do some cleanup and code modernization and in
doing so I needed to change ParseMachCPUDashSubtypeTriple to take
a StringRef. To ensure I don't break anything, I'm adding some
unit tests for this function. As a side benefit, this also expands
test coverage of this function to all platforms, since in general
this code would rarely be exercised on non Mac platforms, and never
in the test suite.
llvm-svn: 281387
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions