offa
2d172dc688
Some refactorings:
...
- Overrides added
- usages of push_back() replaced with emplace_back()
- Loop variable made const-refernce
- NULL replaced with nullptr
- Names used in the declaration and definition unified
- size() replaced with empty
- Identical cases merged
2020-01-25 09:01:04 +01:00
Martin Hořeňovský
923db16322
Use StringRefs through the enum registration
2019-09-08 14:14:46 +02:00
Martin Hořeňovský
fbbaadb704
Use StringRef literal for unknown enum values instead of string lit
2019-09-08 14:14:14 +02:00
Phil nash
6981783178
Added some missing #includes
2019-04-25 14:19:00 +01:00
Phil nash
f2ee4f17ad
Moved enum tests that depend on internals to IntrospectiveTests.
...
- also factored out makeEnumInfo, so tests don't need to touch registry
- and added usage test that involves namespace
2019-04-25 10:13:11 +01:00
Phil Nash
5a74fcc9c9
Removed IEnumInfo (just use EnumInfo directly)
2019-04-21 20:09:58 +03:00
Phil Nash
9d5d719868
Changed splitString to splitStringRef
...
Now takes and returns StringRefs
2019-04-21 20:03:44 +03:00
Phil nash
43428c6093
First commit of STRINGIFY_ENUM
2019-04-04 15:55:46 +01:00