From 486754660bb926339aefcf012a3f848592babb8b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 11:06:01 +0000 Subject: Vendor import of clang trunk r338150: https://llvm.org/svn/llvm-project/cfe/trunk@338150 --- lib/Serialization/Module.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/Serialization/Module.cpp') diff --git a/lib/Serialization/Module.cpp b/lib/Serialization/Module.cpp index 5a44d26fe3998..f0ada809ad99e 100644 --- a/lib/Serialization/Module.cpp +++ b/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 MapType; + using MapType = ContinuousRangeMap; + llvm::errs() << " " << Name << ":\n"; for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end(); I != IEnd; ++I) { -- cgit v1.2.3