OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDecl
(Results
1 - 25
of
218
) sorted by null
1
2
3
4
5
6
7
8
9
/external/clang/include/clang/AST/
DeclAccessPair.h
42
NamedDecl *
getDecl
() const {
53
set(
getDecl
(), AS);
60
operator NamedDecl*() const { return
getDecl
(); }
61
NamedDecl *operator->() const { return
getDecl
(); }
GlobalDecl.h
60
const Decl *
getDecl
() const { return Value.getPointer(); }
63
assert(isa<CXXConstructorDecl>(
getDecl
()) && "Decl is not a ctor!");
68
assert(isa<CXXDestructorDecl>(
getDecl
()) && "Decl is not a dtor!");
UnresolvedSet.h
53
NamedDecl *
getDecl
() const { return ir->
getDecl
(); }
58
NamedDecl *operator*() const { return
getDecl
(); }
127
if (I->
getDecl
() == Old)
/external/clang/include/clang/Analysis/Analyses/
PseudoConstantAnalysis.h
33
inline static const Decl *
getDecl
(const Expr *E);
/external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp
69
const Decl *PseudoConstantAnalysis::
getDecl
(const Expr *E) {
71
return DR->
getDecl
();
96
const Decl *LHSDecl =
getDecl
(BO->getLHS()->IgnoreParenCasts());
107
const Decl *RHSDecl =
getDecl
(BO->getRHS()->IgnoreParenCasts());
142
const Decl *D =
getDecl
(UO->getSubExpr()->IgnoreParenCasts());
186
const Decl *D =
getDecl
(VD->getInit()->IgnoreParenCasts());
203
if (const VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
())) {
CocoaConventions.cpp
29
StringRef TDName = TD->
getDecl
()->getIdentifier()->getName();
35
RetTy = TD->
getDecl
()->getUnderlyingType();
/external/clang/lib/ARCMigrate/
TransARCAssign.cpp
50
if (declRef && isa<VarDecl>(declRef->
getDecl
())) {
55
VarDecl *var = cast<VarDecl>(declRef->
getDecl
());
TransBlockObjCVariable.cpp
54
if (ref->
getDecl
() == Var) {
67
if (E->
getDecl
() == Var)
/external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp
38
if (DR && isa<EnumConstantDecl>(DR->
getDecl
()))
55
if (const VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
()))
CallEvent.cpp
70
const RecordDecl *RD = RT->
getDecl
();
87
if (!
getDecl
())
105
const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(
getDecl
());
179
const Decl *D =
getDecl
();
221
if (const Decl *D =
getDecl
()) {
295
const FunctionDecl *D =
getDecl
();
303
const FunctionDecl *D =
getDecl
();
313
const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->
getDecl
());
323
const FunctionDecl *D =
getDecl
();
376
const FunctionDecl *SimpleCall::
getDecl
() const
[
all
...]
MemRegion.cpp
199
if (
getDecl
()->isBitField())
232
const ObjCIvarDecl *ObjCIvarRegion::
getDecl
() const {
237
return
getDecl
()->getType();
241
return QualType(
getDecl
()->getTypeForDecl(), 0);
333
VarRegion::ProfileRegion(ID,
getDecl
(), superRegion);
418
ProfileRegion(ID,
getDecl
(), isVirtual(), superRegion);
459
os << "code{" <<
getDecl
()->getDeclName().getAsString() << '}';
481
os << "base{" << superRegion << ',' <<
getDecl
()->getName() << '}';
494
os << superRegion << "->" << *
getDecl
();
498
os << "ivar{" << superRegion << ',' << *
getDecl
() << '}';
[
all
...]
/external/clang/lib/StaticAnalyzer/Checkers/
BoolAssignmentChecker.cpp
47
return TT->
getDecl
()->getName() == "BOOL" || // Objective-C
48
TT->
getDecl
()->getName() == "_Bool" || // stdbool.h < C99
49
TT->
getDecl
()->getName() == "Boolean"; // MacTypes.h
UndefinedArraySubscriptChecker.cpp
44
const Decl *D = C.getLocationContext()->
getDecl
();
NoReturnFunctionChecker.cpp
43
if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CE.
getDecl
()))
103
if (const ObjCMethodDecl *MD = Msg.
getDecl
()) {
UndefCapturedBlockVarChecker.cpp
40
if (BR->
getDecl
() == VD)
72
const VarDecl *VD = VR->
getDecl
();
DynamicTypePropagation.cpp
79
recordFixedType(Target, Ctor->
getDecl
(), C);
95
const Decl *D = Dtor->
getDecl
();
115
const ObjCMethodDecl *D = Msg->
getDecl
();
168
const Decl *D = C.getLocationContext()->
getDecl
();
233
if (DRE->
getDecl
() == SFCtx->getSelfDecl()) {
234
if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->
getDecl
()))
CheckSecuritySyntaxOnly.cpp
194
const NamedDecl *ND = DR->
getDecl
();
252
const VarDecl *vdLHS = drLHS ? dyn_cast<VarDecl>(drLHS->
getDecl
()) : NULL;
253
const VarDecl *vdRHS = drRHS ? dyn_cast<VarDecl>(drRHS->
getDecl
()) : NULL;
266
assert(drInc->
getDecl
());
267
const DeclRefExpr *drCond = vdLHS == drInc->
getDecl
() ? drLHS : drRHS;
273
os << "Variable '" << drCond->
getDecl
()->getName()
284
BR.EmitBasicReport(AC->
getDecl
(),
320
BR.EmitBasicReport(AC->
getDecl
(),
361
BR.EmitBasicReport(AC->
getDecl
(),
403
BR.EmitBasicReport(AC->
getDecl
(),
[
all
...]
ObjCSelfInitChecker.cpp
178
C.getCurrentAnalysisDeclContext()->
getDecl
())))
205
C.getCurrentAnalysisDeclContext()->
getDecl
())))
217
C.getCurrentAnalysisDeclContext()->
getDecl
())))
245
C.getCurrentAnalysisDeclContext()->
getDecl
())))
273
C.getCurrentAnalysisDeclContext()->
getDecl
())))
308
C.getCurrentAnalysisDeclContext()->
getDecl
())))
426
return (DR->
getDecl
() == analCtx->getSelfDecl());
DeadStoresChecker.cpp
56
if (const VarDecl *D = dyn_cast<VarDecl>(DR->
getDecl
()))
203
BR.EmitBasicReport(AC->
getDecl
(), BugType, "Dead store", os.str(), L, R);
228
if (const VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
()))
245
if (DR->
getDecl
() == VD)
249
if (DR->
getDecl
() == VD)
270
if (VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
())) {
286
if (VD == dyn_cast<VarDecl>(RhsDR->
getDecl
()))
357
if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->
getDecl
())) {
409
if (const VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
()))
CStringSyntaxChecker.cpp
41
return D1->
getDecl
() == D2->
getDecl
();
75
return D->
getDecl
()->getName();
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CallEvent.h
94
const Decl *
getDecl
() { return D; }
179
virtual const Decl *
getDecl
() const {
212
const Decl *D =
getDecl
();
301
const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(
getDecl
());
401
virtual const FunctionDecl *
getDecl
() const {
402
return cast<FunctionDecl>(CallEvent::
getDecl
());
406
const FunctionDecl *FD =
getDecl
();
414
return RuntimeDefinition(AD->
getDecl
());
421
return
getDecl
()->isVariadic();
451
virtual const FunctionDecl *
getDecl
() const
[
all
...]
/external/clang/lib/AST/
Type.cpp
52
ND = ty->getAs<RecordType>()->
getDecl
();
54
ND = ty->getAs<EnumType>()->
getDecl
();
56
ND = ty->getAs<TypedefType>()->
getDecl
();
363
return RT->
getDecl
()->isClass();
368
return RT->
getDecl
()->isStruct();
373
return RT->
getDecl
()->isInterface();
378
return RT->
getDecl
()->isStruct() || RT->
getDecl
()->isClass() ||
379
RT->
getDecl
()->isInterface();
390
return RT->
getDecl
()->isUnion()
[
all
...]
CXXInheritance.cpp
154
cast_or_null<CXXRecordDecl>(Ty->
getDecl
()->getDefinition());
273
->
getDecl
());
338
VBase = cast<CXXRecordDecl>(Record->
getDecl
());
353
HidingClass = cast<CXXRecordDecl>(Record->
getDecl
());
379
return Specifier->getType()->castAs<RecordType>()->
getDecl
()
389
Specifier->getType()->castAs<RecordType>()->
getDecl
()
397
Specifier->getType()->castAs<RecordType>()->
getDecl
();
414
Specifier->getType()->castAs<RecordType>()->
getDecl
();
433
Specifier->getType()->castAs<RecordType>()->
getDecl
();
507
const CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(RT->
getDecl
());
[
all
...]
VTTBuilder.cpp
67
cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->
getDecl
());
94
cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->
getDecl
());
159
cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->
getDecl
());
/external/clang/lib/CodeGen/
CodeGenTBAA.cpp
79
return TTy->
getDecl
()->hasAttr<MayAliasAttr>();
83
if (TTy->
getDecl
()->hasAttr<MayAliasAttr>())
157
if (!Features.CPlusPlus || !ETy->
getDecl
()->isExternallyVisible())
186
const RecordDecl *RD = TTy->
getDecl
()->getDefinition();
238
const RecordDecl *RD = TTy->
getDecl
()->getDefinition();
258
const RecordDecl *RD = TTy->
getDecl
()->getDefinition();
Completed in 627 milliseconds
1
2
3
4
5
6
7
8
9