mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
LLVM_ATTRIBUTE_USED forces emission of a function. To silence unused function warnings use LLVM_ATTRIBUTE_UNUSED.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164036 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -577,8 +577,8 @@ namespace {
|
|||||||
friend bool operator<(const TableEntry &TE, unsigned V) {
|
friend bool operator<(const TableEntry &TE, unsigned V) {
|
||||||
return TE.from < V;
|
return TE.from < V;
|
||||||
}
|
}
|
||||||
friend bool LLVM_ATTRIBUTE_USED operator<(unsigned V,
|
friend bool LLVM_ATTRIBUTE_UNUSED operator<(unsigned V,
|
||||||
const TableEntry &TE) {
|
const TableEntry &TE) {
|
||||||
return V < TE.from;
|
return V < TE.from;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user