1 //===--- LLVM.h - Import various common LLVM datatypes ----------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file forward declares and imports various common LLVM datatypes that
11 // clang wants to use unqualified.
13 //===----------------------------------------------------------------------===//
15 #ifndef CLANG_BASIC_LLVM_H
16 #define CLANG_BASIC_LLVM_H
18 // This should be the only #include, force #includes of all the others on
20 #include "llvm/Support/Casting.h"
25 template<typename T, unsigned N> class SmallVector;
26 template<typename T> class SmallVectorImpl;
28 // TODO: Twine, raw_ostream, DenseMap, ...
37 using llvm::dyn_cast_or_null;
38 using llvm::cast_or_null;
40 using llvm::StringRef;
41 using llvm::SmallVector;
42 using llvm::SmallVectorImpl;
44 } // end namespace clang.