[llvm] r256617 - [ptr-traits] Add one more #include necessary to do strict alignment

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 29 19:56:17 PST 2015


Author: chandlerc
Date: Tue Dec 29 21:56:17 2015
New Revision: 256617

URL: http://llvm.org/viewvc/llvm-project?rev=256617&view=rev
Log:
[ptr-traits] Add one more #include necessary to do strict alignment
checking of pointers used in PointerIntPairs.

Modified:
    llvm/trunk/include/llvm/IR/Mangler.h

Modified: llvm/trunk/include/llvm/IR/Mangler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Mangler.h?rev=256617&r1=256616&r2=256617&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Mangler.h (original)
+++ llvm/trunk/include/llvm/IR/Mangler.h Tue Dec 29 21:56:17 2015
@@ -15,12 +15,12 @@
 #define LLVM_IR_MANGLER_H
 
 #include "llvm/ADT/DenseMap.h"
+#include "llvm/IR/GlobalValue.h"
 #include "llvm/Support/raw_ostream.h"
 
 namespace llvm {
 
 class DataLayout;
-class GlobalValue;
 template <typename T> class SmallVectorImpl;
 class Twine;
 




More information about the llvm-commits mailing list