public class SemanticQueries extends Object
| Constructor and Description |
|---|
SemanticQueries() |
| Modifier and Type | Method and Description |
|---|---|
static ICPPMethod[] |
getPureVirtualMethods(ICPPClassType classType,
IASTNode point)
Returns all pure virtual methods of a class.
|
static boolean |
isCopyConstructor(ICPPConstructor constructor) |
static boolean |
isCopyOrMoveConstructor(ICPPConstructor constructor) |
static boolean |
isMoveConstructor(ICPPConstructor constructor) |
static boolean |
isUnknownBuiltin(IProblemBinding binding,
IASTNode node)
Returns whether a problem binding represents a name resolution error due to an unknown built-in.
|
public static boolean isCopyOrMoveConstructor(ICPPConstructor constructor)
public static boolean isMoveConstructor(ICPPConstructor constructor)
public static boolean isCopyConstructor(ICPPConstructor constructor)
public static ICPPMethod[] getPureVirtualMethods(ICPPClassType classType, IASTNode point)
classType - the class whose pure virtual methods should be returnedpoint - the point of template instantiation, if applicablepublic static boolean isUnknownBuiltin(IProblemBinding binding, IASTNode node)
binding - The problem binding to test.node - Any node in the AST. Used to access the AST root.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.