Jonas Devlieghere
|
114087caa6
[llvm] Migrate llvm::make_unique to std::make_unique
|
6 years ago |
Don Hinton
|
50b9c08241
[llvm] Add isa_and_nonnull
|
6 years ago |
Chandler Carruth
|
6b547686c5
Update the file headers across all of the LLVM projects in the monorepo
|
6 years ago |
Zachary Turner
|
ab480f45cd
[Support] Add support for unique_ptr<> to Casting.h.
|
8 years ago |
Aaron Ballman
|
d898d31ebc
Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.
|
10 years ago |
Duncan P. N. Exon Smith
|
5deb1bf97f
Support: Add *cast_or_null<> for pointer wrappers
|
10 years ago |
Craig Topper
|
b177041dfa
[C++11] Use 'nullptr'.
|
11 years ago |
Benjamin Kramer
|
c1dafe8dc3
[C++11] Replace LLVM-style type traits with C++11 standard ones.
|
11 years ago |
Chandler Carruth
|
974a445bd9
Re-sort all of the includes with ./utils/sort_includes.py so that
|
11 years ago |
Rafael Espindola
|
60f18ad8a5
Fix a regression I introduced back in r178147.
|
12 years ago |
Chandler Carruth
|
5a88dda4be
Sort the #include lines for unittest/...
|
12 years ago |
Sean Silva
|
8b8fa7b2f4
Casting.h: Automatically handle isa<Base>(Derived).
|
13 years ago |
Richard Smith
|
79b59a2766
Don't pass a null pointer to cast<> in its unit tests.
|
13 years ago |
NAKAMURA Takumi
|
2a53577728
unittests/Support/Casting.cpp: [PR8226] Workaround for MSVC|Debug.
|
13 years ago |
Gabor Greif
|
f06eb3719a
add dyn_cast_or_null tests, exclude invalid dyn_cast test
|
15 years ago |
Gabor Greif
|
46a35015f5
tidy up
|
15 years ago |
Gabor Greif
|
d159467ad6
add dyn_cast tests and beef up others a bit
|
15 years ago |
Gabor Greif
|
b3c90d96bd
tidy up
|
15 years ago |
Gabor Greif
|
e8950977a5
migrate essentially everything from under #ifdef DEBUG_CAST_OPERATORS into this file
|
15 years ago |
Gabor Greif
|
08993c03ab
extend to cast<> and cast_or_null<> tests
|
15 years ago |
Gabor Greif
|
af8e2ef649
isa<> tests
|
15 years ago |
Gabor Greif
|
ee57dae3d8
initial checkin for unittest to exercise Support/Casting.h
|
15 years ago |