diff options
author | Cecil <knoppmyth@gmail.com> | 2011-07-21 07:46:40 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-07-21 07:46:40 (GMT) |
commit | 6199ba3a18c3b76e4962206722bdd4fe7d3096e0 (patch) | |
tree | bb5a0082c8b4de8e096b54b5b4c421b3e97b7dd4 /abs/core/llvm/bug-9869-operator-h-c++0x.patch | |
parent | 444454770de1e247155a3557fab141be24c3a03b (diff) | |
parent | 56ff12b7fb2841e49431084a5b85d95fe8c9de2b (diff) | |
download | linhes_pkgbuild-6199ba3a18c3b76e4962206722bdd4fe7d3096e0.zip linhes_pkgbuild-6199ba3a18c3b76e4962206722bdd4fe7d3096e0.tar.gz linhes_pkgbuild-6199ba3a18c3b76e4962206722bdd4fe7d3096e0.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/llvm/bug-9869-operator-h-c++0x.patch')
-rw-r--r-- | abs/core/llvm/bug-9869-operator-h-c++0x.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/abs/core/llvm/bug-9869-operator-h-c++0x.patch b/abs/core/llvm/bug-9869-operator-h-c++0x.patch new file mode 100644 index 0000000..b95d7d7 --- /dev/null +++ b/abs/core/llvm/bug-9869-operator-h-c++0x.patch @@ -0,0 +1,57 @@ +--- llvm/trunk/include/llvm/Operator.h 2011/02/07 16:40:21 125006 ++++ llvm/trunk/include/llvm/Operator.h 2011/05/08 01:59:22 131062 +@@ -186,28 +186,46 @@ + }; + + class AddOperator +- : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Add> {}; ++ : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Add> { ++ ~AddOperator(); // DO NOT IMPLEMENT ++}; + class SubOperator +- : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Sub> {}; ++ : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Sub> { ++ ~SubOperator(); // DO NOT IMPLEMENT ++}; + class MulOperator +- : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {}; ++ : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> { ++ ~MulOperator(); // DO NOT IMPLEMENT ++}; + class ShlOperator +- : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {}; ++ : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> { ++ ~ShlOperator(); // DO NOT IMPLEMENT ++}; + + + class SDivOperator +- : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> {}; ++ : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> { ++ ~SDivOperator(); // DO NOT IMPLEMENT ++}; + class UDivOperator +- : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {}; ++ : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> { ++ ~UDivOperator(); // DO NOT IMPLEMENT ++}; + class AShrOperator +- : public ConcreteOperator<PossiblyExactOperator, Instruction::AShr> {}; ++ : public ConcreteOperator<PossiblyExactOperator, Instruction::AShr> { ++ ~AShrOperator(); // DO NOT IMPLEMENT ++}; + class LShrOperator +- : public ConcreteOperator<PossiblyExactOperator, Instruction::LShr> {}; ++ : public ConcreteOperator<PossiblyExactOperator, Instruction::LShr> { ++ ~LShrOperator(); // DO NOT IMPLEMENT ++}; + + + + class GEPOperator + : public ConcreteOperator<Operator, Instruction::GetElementPtr> { ++ ~GEPOperator(); // DO NOT IMPLEMENT ++ + enum { + IsInBounds = (1 << 0) + }; |