diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2016-04-28 18:04:41 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2016-04-28 18:04:41 +0000 |
commit | 5354a8aa4d22b90f72092cefe35890ce66d6056e (patch) | |
tree | db8b22874ef1744ee50a6565546626671e8e25ed /llvm/unittests/ProfileData/SampleProfTest.cpp | |
parent | 9253135c153e16da9eae056a7d16a85656bb633e (diff) | |
download | llvm-5354a8aa4d22b90f72092cefe35890ce66d6056e.zip llvm-5354a8aa4d22b90f72092cefe35890ce66d6056e.tar.gz llvm-5354a8aa4d22b90f72092cefe35890ce66d6056e.tar.bz2 |
Fix some Clang-tidy modernize and Include What You Use warnings.
Differential revision: http://reviews.llvm.org/D19673
llvm-svn: 267910
Diffstat (limited to 'llvm/unittests/ProfileData/SampleProfTest.cpp')
-rw-r--r-- | llvm/unittests/ProfileData/SampleProfTest.cpp | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/llvm/unittests/ProfileData/SampleProfTest.cpp b/llvm/unittests/ProfileData/SampleProfTest.cpp index 24ffee7..8de090d 100644 --- a/llvm/unittests/ProfileData/SampleProfTest.cpp +++ b/llvm/unittests/ProfileData/SampleProfTest.cpp @@ -1,5 +1,4 @@ -//===- unittest/ProfileData/SampleProfTest.cpp -------------------*- C++ -//-*-===// +//===- unittest/ProfileData/SampleProfTest.cpp ------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -8,12 +7,27 @@ // //===----------------------------------------------------------------------===// +#include "llvm/ADT/StringMap.h" +#include "llvm/ADT/StringRef.h" +#include "llvm/IR/LLVMContext.h" #include "llvm/IR/Metadata.h" +#include "llvm/IR/Module.h" +#include "llvm/ProfileData/ProfileCommon.h" +#include "llvm/ProfileData/SampleProf.h" #include "llvm/ProfileData/SampleProfReader.h" #include "llvm/ProfileData/SampleProfWriter.h" +#include "llvm/Support/Casting.h" +#include "llvm/Support/ErrorOr.h" +#include "llvm/Support/MemoryBuffer.h" +#include "llvm/Support/raw_ostream.h" #include "gtest/gtest.h" - -#include <cstdarg> +#include <algorithm> +#include <cstdint> +#include <limits> +#include <memory> +#include <string> +#include <system_error> +#include <vector> using namespace llvm; using namespace sampleprof; |