mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
FIxed Linkage to use internal version of function that should be faster at checking isStatic. Also changed the name of the binary search thread.
This commit is contained in:
parent
ddc8721872
commit
c27fde83cb
2 changed files with 7 additions and 4 deletions
|
@ -45,6 +45,7 @@ import org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage;
|
|||
import org.eclipse.cdt.core.model.ILanguage;
|
||||
import org.eclipse.cdt.internal.core.Util;
|
||||
import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPBlockScope;
|
||||
import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPInternalFunction;
|
||||
import org.eclipse.cdt.internal.core.pdom.PDOM;
|
||||
import org.eclipse.cdt.internal.core.pdom.db.IBTreeComparator;
|
||||
import org.eclipse.cdt.internal.core.pdom.dom.IPDOMMemberOwner;
|
||||
|
@ -177,10 +178,12 @@ class PDOMCPPLinkage extends PDOMLinkage {
|
|||
} else if (binding instanceof ICPPMethod && parent instanceof PDOMCPPClassType) {
|
||||
pdomBinding = new PDOMCPPMethod(pdom, parent, (ICPPMethod)binding);
|
||||
} else if (binding instanceof ICPPFunction) {
|
||||
ICPPFunction func= (ICPPFunction) binding;
|
||||
// if (!func.isStatic()) { // bug 161216
|
||||
ICPPFunction func = (ICPPFunction)binding;
|
||||
if (binding instanceof ICPPInternalFunction) {
|
||||
if (!((ICPPInternalFunction)binding).isStatic(false))
|
||||
pdomBinding = new PDOMCPPFunction(pdom, parent, func);
|
||||
} else
|
||||
pdomBinding = new PDOMCPPFunction(pdom, parent, func);
|
||||
// }
|
||||
} else if (binding instanceof ICPPClassType) {
|
||||
pdomBinding= new PDOMCPPClassType(pdom, parent, (ICPPClassType) binding);
|
||||
} else if (binding instanceof ICPPNamespaceAlias) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# QNX Software Systems - Initial API and implementation
|
||||
###############################################################################
|
||||
CBuilder.build_error= Build Error
|
||||
CoreModel.BinaryRunner.Binary_Search_Thread=Binary Search Thread
|
||||
CoreModel.BinaryRunner.Binary_Search_Thread=Searching for Binaries
|
||||
CoreModel.CModelBuilder.Parser_Construction_Failure=Parser/Scanner construction failure.
|
||||
CoreModel.CModelBuilder.Parse_Failure=Parse failure
|
||||
CoreModel.ArchiveContainer.Archives=Archives
|
||||
|
|
Loading…
Add table
Reference in a new issue