Zachary Turner
52ef28bf01
Fix some semantic usability issues with DynamicLibrary.
...
This patch allows invalid DynamicLibrary instances to be
constructed, and fixes the const-correctness of the isValid()
method.
No functional change.
llvm-svn: 216571
2014-08-27 18:13:25 +00:00
Benjamin Kramer
da144ed5a2
Canonicalize header guards into a common format.
...
Add header guards to files that were missing guards. Remove #endif comments
as they don't seem common in LLVM (we can easily add them back if we decide
they're useful)
Changes made by clang-tidy with minor tweaks.
llvm-svn: 215558
2014-08-13 16:26:38 +00:00
Craig Topper
ee78063a54
[C++11] Make use of 'nullptr' in the Support library.
...
llvm-svn: 205697
2014-04-07 04:17:22 +00:00
Jakub Staszak
f1ea1a7f37
Fix include guards so they exactly match file names.
...
llvm-svn: 172025
2013-01-10 00:45:19 +00:00
Eli Friedman
ed37686ef1
Add missing includes/class declaration.
...
llvm-svn: 143718
2011-11-04 18:30:30 +00:00
Jordy Rose
8f407b9649
...and make sure DynamicLibrary builds by removing "const" from the Invalid placeholder.
...
llvm-svn: 137843
2011-08-17 18:28:14 +00:00
Jordy Rose
06883230c0
Don't use NULL to represent an invalid library; Cygwin uses this for RTLD_DEFAULT. Caught by Takumi.
...
llvm-svn: 137841
2011-08-17 18:23:17 +00:00
Jordy Rose
c689530acc
Use DynamicLibrary instances as a way to get symbols from a specific library. Preparation for upcoming (preliminary) support for plugins for the static analyzer.
...
llvm-svn: 137791
2011-08-17 00:29:32 +00:00
Charles Davis
e7f14dfdb8
Now to chant the magical incantation that will exorcise the System library
...
from LLVM forever:
grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g'
llvm-svn: 120314
2010-11-29 19:44:50 +00:00
Michael J. Spencer
d5ec932c3a
Merge System into Support.
...
llvm-svn: 120298
2010-11-29 18:16:10 +00:00