llvm.org GIT mirror llvm / fbe67f8
Make a few headers standalone. Plus, add a missing "template" keyword that Clang diagnoses but GCC does not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86130 91177308-0d34-0410-b5e6-96231b3b80d8 Douglas Gregor 10 years ago
5 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2222 #ifndef LLVM_SUPPORT_FORMAT_H
2323 #define LLVM_SUPPORT_FORMAT_H
2424
25 #include
2526 #include
2627 #ifdef WIN32
2728 #define snprintf _snprintf
2525
2626 namespace llvm {
2727
28 class LLVMContext;
2829 class Value;
2930
3031 struct LeakDetector {
1313 #ifndef LLVM_SUPPORT_OUTPUTBUFFER_H
1414 #define LLVM_SUPPORT_OUTPUTBUFFER_H
1515
16 #include
1617 #include
1718 #include
1819
2424
2525 #include "llvm/Support/CommandLine.h"
2626 #include "llvm/Support/ErrorHandling.h"
27 #include "llvm/Support/raw_ostream.h"
2728 #include "llvm/Pass.h"
2829 #include
2930 #include
4040 /// SubClass. The storage may be either newly allocated or recycled.
4141 ///
4242 template
43 SubClass *Allocate() { return Base.Allocate(Allocator); }
43 SubClass *Allocate() { return Base.template Allocate(Allocator); }
4444
4545 T *Allocate() { return Base.Allocate(Allocator); }
4646