llvm.org GIT mirror llvm / 3a9b714
Add extra declarations of hash_value needed to build llvm with xlc 12.1. Patch by Kai! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167085 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 7 years ago
3 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
455455 /* The sign bit of this number. */
456456 unsigned int sign: 1;
457457 };
458
459 // See friend declaration above. This additional declaration is required in
460 // order to compile LLVM with IBM xlC compiler.
461 hash_code hash_value(const APFloat &Arg);
458462 } /* namespace llvm */
459463
460464 #endif /* LLVM_FLOAT_H */
17791779
17801780 } // End of APIntOps namespace
17811781
1782 // See friend declaration above. This additional declaration is required in
1783 // order to compile LLVM with IBM xlC compiler.
1784 hash_code hash_value(const APInt &Arg);
17821785 } // End of llvm namespace
17831786
17841787 #endif
686686 return OS;
687687 }
688688
689 // See friend declaration above. This additional declaration is required in
690 // order to compile LLVM with IBM xlC compiler.
691 hash_code hash_value(const MachineOperand &MO);
689692 } // End llvm namespace
690693
691694 #endif