diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-31 17:06:31 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-31 17:06:31 +0000 |
commit | 735bee93f1285c5c55c64d80fdc2ede4c0f23341 (patch) | |
tree | e1209c2a0b4880eee15e0ce705016372f7c88724 /contrib/llvm/tools/clang/lib/Serialization/Module.cpp | |
parent | 51315c45ff5643a27f9c84b816db54ee870ba29b (diff) | |
parent | 486754660bb926339aefcf012a3f848592babb8b (diff) |
Notes
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Serialization/Module.cpp')
-rw-r--r-- | contrib/llvm/tools/clang/lib/Serialization/Module.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/llvm/tools/clang/lib/Serialization/Module.cpp b/contrib/llvm/tools/clang/lib/Serialization/Module.cpp index 5a44d26fe399..f0ada809ad99 100644 --- a/contrib/llvm/tools/clang/lib/Serialization/Module.cpp +++ b/contrib/llvm/tools/clang/lib/Serialization/Module.cpp @@ -1,4 +1,4 @@ -//===--- Module.cpp - Module description ------------------------*- C++ -*-===// +//===- Module.cpp - Module description ------------------------------------===// // // The LLVM Compiler Infrastructure // @@ -11,8 +11,12 @@ // been loaded from an AST file. // //===----------------------------------------------------------------------===// + #include "clang/Serialization/Module.h" #include "ASTReaderInternals.h" +#include "clang/Serialization/ContinuousRangeMap.h" +#include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" using namespace clang; @@ -32,7 +36,8 @@ dumpLocalRemap(StringRef Name, if (Map.begin() == Map.end()) return; - typedef ContinuousRangeMap<Key, Offset, InitialCapacity> MapType; + using MapType = ContinuousRangeMap<Key, Offset, InitialCapacity>; + llvm::errs() << " " << Name << ":\n"; for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end(); I != IEnd; ++I) { |