OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df3fb5e
)
constified operator~().
author
Ted Kremenek
<kremenek@apple.com>
Mon, 4 Feb 2008 16:57:26 +0000
(16:57 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Mon, 4 Feb 2008 16:57:26 +0000
(16:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46707
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/APSInt.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/APSInt.h
b/include/llvm/ADT/APSInt.h
index
be41927
..
0b98f74
100644
(file)
--- a/
include/llvm/ADT/APSInt.h
+++ b/
include/llvm/ADT/APSInt.h
@@
-223,7
+223,7
@@
public:
assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
return APSInt(static_cast<const APInt&>(*this) - RHS, IsUnsigned);
}
- APSInt operator~() {
+ APSInt operator~()
const
{
return APSInt(~static_cast<const APInt&>(*this), IsUnsigned);
}