Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMarco Stornelli2020-03-24 14:52:29 +0000
committerMarco Stornelli2020-04-06 13:22:03 +0000
commit14936b92c68cf68760828952efdd894d6147d1b6 (patch)
treeeebfe19d15411e6ac548f8662a9ae80788d722c0 /core
parent733d884bc4dd27305c7d91391f7b7cc7564caf91 (diff)
downloadorg.eclipse.cdt-14936b92c68cf68760828952efdd894d6147d1b6.tar.gz
org.eclipse.cdt-14936b92c68cf68760828952efdd894d6147d1b6.tar.xz
org.eclipse.cdt-14936b92c68cf68760828952efdd894d6147d1b6.zip
Bug 534420 - Add checker for [[nodiscard]] attribute
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalFunctionCall.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/EvalFunctionCall.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalFunctionCall.java
index 47d757faf2f..5c30a9bd92e 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalFunctionCall.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalFunctionCall.java
@@ -372,7 +372,7 @@ public final class EvalFunctionCall extends CPPDependentEvaluation {
return EvalFixed.INCOMPLETE;
}
- private ICPPFunction resolveFunctionBinding() {
+ public ICPPFunction resolveFunctionBinding() {
ICPPFunction function = getOverload();
if (function == null) {
ICPPEvaluation funcEval = fArguments[0];

Back to the top