diff options
author | serge-sans-paille <sguelton@redhat.com> | 2022-09-28 18:39:23 +0200 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2022-09-28 20:49:01 +0200 |
commit | 16544cbe64b81a50800a88296ef37f4873a37b25 (patch) | |
tree | 2cc9f1009abd93707537d375c23bba672250a3db /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 99c7f83b99bea43235cdaaaf955f2242a25b92bf (diff) | |
download | llvm-16544cbe64b81a50800a88296ef37f4873a37b25.zip llvm-16544cbe64b81a50800a88296ef37f4873a37b25.tar.gz llvm-16544cbe64b81a50800a88296ef37f4873a37b25.tar.bz2 |
[iwyu] Move <cmath> out of llvm/Support/MathExtras.h
Interestingly, MathExtras.h doesn't use <cmath> declaration, so move it out of
that header and include it when needed.
No functional change intended, but there's no longer a transitive include
fromMathExtras.h to cmath.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 7fd51c8..f7684ae 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -34,6 +34,7 @@ #include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetMachine.h" #include <algorithm> +#include <cmath> using namespace llvm; #define DEBUG_TYPE "codegen" |