projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e70af02
)
[CompilerType] Simplify operator!=. NFCI.
author
Davide Italiano
<davide@freebsd.org>
Sat, 29 Dec 2018 05:00:33 +0000
(
05:00
+0000)
committer
Davide Italiano
<davide@freebsd.org>
Sat, 29 Dec 2018 05:00:33 +0000
(
05:00
+0000)
llvm-svn: 350148
lldb/source/Symbol/CompilerType.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Symbol/CompilerType.cpp
b/lldb/source/Symbol/CompilerType.cpp
index
548d634
..
27d7d83
100644
(file)
--- a/
lldb/source/Symbol/CompilerType.cpp
+++ b/
lldb/source/Symbol/CompilerType.cpp
@@
-1066,6
+1066,5
@@
bool lldb_private::operator==(const lldb_private::CompilerType &lhs,
bool lldb_private::operator!=(const lldb_private::CompilerType &lhs,
const lldb_private::CompilerType &rhs) {
- return lhs.GetTypeSystem() != rhs.GetTypeSystem() ||
- lhs.GetOpaqueQualType() != rhs.GetOpaqueQualType();
+ return !(lhs == rhs);
}