Nadav Rotem
19ebd058c6
[ADT] Add a new data structure to enumerate values.
...
This data structure enumerates values and gives them unqiue indices. This data
structure will be used by the AliasAnalysis Cache.
2015-12-07 09:24:59 -08:00
Jordan Rose
3958f0b0f9
[unittests] Fix OptionSet->intptr_t test for older Clang versions.
...
clang-600 doesn't consider explicit conversion operators as satisfying
std::is_constructible, even though actually writing the construction
does work. Just don't run that part of the test if that's how
std::is_constructible behaves.
Swift SVN r24603
2015-01-21 18:15:48 +00:00
Jordan Rose
e618ac37f7
Conditionally give OptionSet a conversion to intptr_t.
...
...so that OptionSet can be used as the "integer" in a PointerIntPair.
Swift SVN r24528
2015-01-19 23:08:52 +00:00
Jordan Rose
2170a02b16
Fix implementation of OptionSet::contains.
...
AFAIK no functionality change because no one's been using OptionSet::contains
for anything but single flags.
Swift SVN r24527
2015-01-19 23:08:48 +00:00