diff options
Diffstat (limited to 'clang/include/clang/Basic/PlistSupport.h')
-rw-r--r-- | clang/include/clang/Basic/PlistSupport.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/clang/include/clang/Basic/PlistSupport.h b/clang/include/clang/Basic/PlistSupport.h index 61de82450cf..be92bbfde18 100644 --- a/clang/include/clang/Basic/PlistSupport.h +++ b/clang/include/clang/Basic/PlistSupport.h @@ -1,4 +1,4 @@ -//===---------- PlistSupport.h - Plist Output Utilities ---------*- C++ -*-===// +//===- PlistSupport.h - Plist Output Utilities ------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -10,12 +10,20 @@ #ifndef LLVM_CLANG_BASIC_PLISTSUPPORT_H #define LLVM_CLANG_BASIC_PLISTSUPPORT_H +#include "clang/Basic/LLVM.h" +#include "clang/Basic/SourceLocation.h" #include "clang/Basic/SourceManager.h" +#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/SmallVector.h" +#include "llvm/ADT/StringRef.h" #include "llvm/Support/raw_ostream.h" +#include <cassert> +#include <cstdint> namespace clang { namespace markup { -typedef llvm::DenseMap<FileID, unsigned> FIDMap; + +using FIDMap = llvm::DenseMap<FileID, unsigned>; inline void AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V, const SourceManager &SM, SourceLocation L) { @@ -112,7 +120,8 @@ inline void EmitRange(raw_ostream &o, const SourceManager &SM, EmitLocation(o, SM, R.getEnd(), FM, indent + 1); Indent(o, indent) << "</array>\n"; } -} -} -#endif +} // namespace markup +} // namespace clang + +#endif // LLVM_CLANG_BASIC_PLISTSUPPORT_H |