diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-10-10 22:33:29 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-10-10 22:33:29 +0000 |
commit | 149178d92bf4d405e71fabb4d93204292f89acc2 (patch) | |
tree | 51b58640b67a7ee0bf6119568f87caa21b2cf34a /llvm/lib/CodeGen/SafeStackLayout.cpp | |
parent | becb92dec85924969ac0c3b049e0a74def431453 (diff) | |
download | llvm-149178d92bf4d405e71fabb4d93204292f89acc2.zip llvm-149178d92bf4d405e71fabb4d93204292f89acc2.tar.gz llvm-149178d92bf4d405e71fabb4d93204292f89acc2.tar.bz2 |
[CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 315380
Diffstat (limited to 'llvm/lib/CodeGen/SafeStackLayout.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SafeStackLayout.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SafeStackLayout.cpp b/llvm/lib/CodeGen/SafeStackLayout.cpp index 7d4dbd1..b175935 100644 --- a/llvm/lib/CodeGen/SafeStackLayout.cpp +++ b/llvm/lib/CodeGen/SafeStackLayout.cpp @@ -1,4 +1,4 @@ -//===-- SafeStackLayout.cpp - SafeStack frame layout -----------*- C++ -*--===// +//===- SafeStackLayout.cpp - SafeStack frame layout -----------------------===// // // The LLVM Compiler Infrastructure // @@ -8,9 +8,15 @@ //===----------------------------------------------------------------------===// #include "SafeStackLayout.h" - -#include "llvm/IR/Instructions.h" +#include "SafeStackColoring.h" +#include "llvm/IR/Value.h" +#include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/MathExtras.h" +#include "llvm/Support/raw_ostream.h" +#include <algorithm> +#include <cassert> using namespace llvm; using namespace llvm::safestack; |