Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Stornelli2019-03-23 11:24:39 -0400
committerMarco Stornelli2019-10-17 00:58:22 -0400
commitfa012eb7d4103adca15a7ddee8ce63b7fc055ca6 (patch)
tree58f163367d0226887c7bc673cfdb1641d5ce13e9 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt
parent2f5f4d50a22b48a6ed00682ad4ff161d3a67cb2b (diff)
downloadorg.eclipse.cdt-fa012eb7d4103adca15a7ddee8ce63b7fc055ca6.tar.gz
org.eclipse.cdt-fa012eb7d4103adca15a7ddee8ce63b7fc055ca6.tar.xz
org.eclipse.cdt-fa012eb7d4103adca15a7ddee8ce63b7fc055ca6.zip
Bug 545704 - Added checker for float comparison
Change-Id: Id5529b9bd5ee38bac5f5b7e8adab741f0bce3f8e Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
index 37f1353c85..11cc4769f9 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
@@ -1733,7 +1733,7 @@ public class CPPVisitor extends ASTQueries {
return areEquivalentBindings(candidate, target, index);
}
- private static boolean areEquivalentBindings(IBinding binding1, IBinding binding2, IIndex index) {
+ public static boolean areEquivalentBindings(IBinding binding1, IBinding binding2, IIndex index) {
if (binding1.equals(binding2)) {
return true;
}

Back to the top