OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDecl
(Results
1 - 25
of
305
) sorted by relevancy
1
2
3
4
5
6
7
8
9
10
11
>>
/src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclAccessPair.h
41
NamedDecl *
getDecl
() const {
52
set(
getDecl
(), AS);
58
operator NamedDecl*() const { return
getDecl
(); }
59
NamedDecl *operator->() const { return
getDecl
(); }
GlobalDecl.h
102
const Decl *
getDecl
() const { return Value.getPointer(); }
105
assert(isa<CXXConstructorDecl>(
getDecl
()) && "Decl is not a ctor!");
110
assert(isa<CXXDestructorDecl>(
getDecl
()) && "Decl is not a dtor!");
115
assert(isa<VarDecl>(
getDecl
()) &&
116
cast<VarDecl>(
getDecl
())->hasGlobalStorage() &&
123
getDecl
()) &&
124
!cast<FunctionDecl>(
getDecl
())->hasAttr<CUDAGlobalAttr>() &&
125
!isa<CXXConstructorDecl>(
getDecl
()) &&
126
!isa<CXXDestructorDecl>(
getDecl
()) &&
132
assert(isa<FunctionDecl>(
getDecl
()) &
[
all
...]
UnresolvedSet.h
50
NamedDecl *
getDecl
() const { return I->
getDecl
(); }
56
NamedDecl *operator*() const { return
getDecl
(); }
104
if (I->
getDecl
() == Old)
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
BoolAssignmentChecker.cpp
48
return TT->
getDecl
()->getName() == "BOOL" || // Objective-C
49
TT->
getDecl
()->getName() == "_Bool" || // stdbool.h < C99
50
TT->
getDecl
()->getName() == "Boolean"; // MacTypes.h
CastToStructChecker.cpp
66
AC->
getDecl
(), Checker, "Cast from non-struct type to struct type",
80
VD = SE->
getDecl
();
97
BR.EmitBasicReport(AC->
getDecl
(), Checker, "Widening cast to struct type",
NonnullGlobalConstantsChecker.cpp
100
const VarDecl *Decl = Region->
getDecl
();
113
Ty = TT->
getDecl
()->getUnderlyingType();
140
IdentifierInfo* II = T->
getDecl
()->getIdentifier();
MacOSXAPIChecker.cpp
97
const VarDecl *VD = VR->
getDecl
();
112
os << VR->
getDecl
()->getName() << '\'';
117
os << " the instance variable '" << IVR->
getDecl
()->getName() << '\'';
NoReturnFunctionChecker.cpp
44
if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CE.
getDecl
()))
90
if (const ObjCMethodDecl *MD = Msg.
getDecl
()) {
UndefCapturedBlockVarChecker.cpp
39
if (BR->
getDecl
() == VD)
66
const VarDecl *VD = VR->
getDecl
();
UndefinedAssignmentChecker.cpp
44
dyn_cast<FunctionDecl>(C.getStackFrame()->
getDecl
()))
93
dyn_cast<CXXConstructorDecl>(C.getStackFrame()->
getDecl
())) {
ObjCSelfInitChecker.cpp
173
C.getCurrentAnalysisDeclContext()->
getDecl
())))
200
C.getCurrentAnalysisDeclContext()->
getDecl
())))
213
C.getCurrentAnalysisDeclContext()->
getDecl
())))
241
C.getCurrentAnalysisDeclContext()->
getDecl
())))
269
C.getCurrentAnalysisDeclContext()->
getDecl
())))
304
C.getCurrentAnalysisDeclContext()->
getDecl
())))
419
return (DR->
getDecl
() == analCtx->getSelfDecl());
DeadStoresChecker.cpp
57
if (const VarDecl *D = dyn_cast<VarDecl>(DR->
getDecl
()))
264
BR.EmitBasicReport(AC->
getDecl
(), Checker, BugType, categories::UnusedCode,
291
if (const VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
()))
308
if (DR->
getDecl
() == VD)
312
if (DR->
getDecl
() == VD)
333
if (VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
())) {
351
if (VD == dyn_cast<VarDecl>(RhsDR->
getDecl
()))
423
if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->
getDecl
())) {
503
if (const VarDecl *VD = dyn_cast<VarDecl>(DR->
getDecl
()))
CStringSyntaxChecker.cpp
41
return D1->
getDecl
() == D2->
getDecl
();
74
return D->
getDecl
()->getName();
168
const auto *LenArgVal = dyn_cast<VarDecl>(LenArgDRE->
getDecl
());
171
assert(isa<EnumConstantDecl>(LenArgDRE->
getDecl
()));
/src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransARCAssign.cpp
49
if (declRef && isa<VarDecl>(declRef->
getDecl
())) {
54
VarDecl *var = cast<VarDecl>(declRef->
getDecl
());
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
UninitializedPointee.cpp
47
Out << getVariableName(
getDecl
());
51
if (
getDecl
()->getType()->isPointerType())
73
if (
getDecl
()->getType()->isIntegerType())
82
Out << getVariableName(
getDecl
()) << ')';
103
Out << getVariableName(
getDecl
());
143
assert((isDereferencableType(FR->
getDecl
()->getType()) ||
233
bool NeedsCastBack = isVoidPointer(FR->
getDecl
()->getType()) ||
UninitializedObjectChecker.cpp
67
Out << getVariableName(
getDecl
());
142
Context.getLocationContext()->
getDecl
());
192
Node->getLocationContext()->
getDecl
());
206
Node->getLocationContext()->
getDecl
());
210
PathDiagnosticLocation::create(Pair.first->
getDecl
(),
246
assert((PointeeR || !isDereferencableType(FR->
getDecl
()->getType())) &&
251
FR->
getDecl
()->getLocation()))
254
if (Opts.IgnoreGuardedFields && !hasUnguardedAccess(FR->
getDecl
(), State))
484
const auto *OtherCtor = dyn_cast<CXXConstructorDecl>(LC->
getDecl
());
/src/external/apache2/llvm/dist/clang/lib/Analysis/
CocoaConventions.cpp
28
StringRef TDName = TD->
getDecl
()->getIdentifier()->getName();
34
RetTy = TD->
getDecl
()->getUnderlyingType();
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
LoopWidening.cpp
73
*LCtx->
getDecl
()->getBody(), ASTCtx);
87
const CXXMethodDecl *CXXMD = dyn_cast<CXXMethodDecl>(STC->
getDecl
());
MemRegion.cpp
166
const ObjCIvarDecl *ObjCIvarRegion::
getDecl
() const { return IVD; }
169
return
getDecl
()->getType();
173
return QualType(
getDecl
()->getTypeForDecl(), 0);
177
return QualType(
getDecl
()->getTypeForDecl(), 0);
181
assert(
getDecl
() &&
184
return
getDecl
()->getType();
187
const ParmVarDecl *ParamVarRegion::
getDecl
() const {
188
const Decl *D = getStackFrame()->
getDecl
();
279
ProfileRegion(ID,
getDecl
(), superRegion);
291
ProfileRegion(ID,
getDecl
(), superRegion)
[
all
...]
CallEvent.cpp
111
const RecordDecl *RD = RT->
getDecl
();
137
if (!
getDecl
())
163
const auto *FD = dyn_cast_or_null<FunctionDecl>(
getDecl
());
171
const Decl *D =
getDecl
();
256
if (const Decl *callee =
getDecl
())
314
const Decl *D =
getDecl
();
331
const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(
getDecl
());
412
if (const Decl *D =
getDecl
()) {
535
const FunctionDecl *D =
getDecl
();
542
const FunctionDecl *FD =
getDecl
();
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h
96
if (auto D = dyn_cast<ParmVarDecl>(V->
getDecl
()))
184
const VarDecl *VD = R->
getDecl
();
201
return "instance variable '" + R->
getDecl
()->getNameAsString() + "' of " +
206
return "field '" + R->
getDecl
()->getNameAsString() + "' of " +
216
return "base object '" + R->
getDecl
()->getQualifiedNameAsString() +
224
const ParmVarDecl *PVD = R->
getDecl
();
233
const Decl *Parent = R->getStackFrame()->
getDecl
();
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCXX.cpp
84
cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->
getDecl
());
150
TargetDecl.
getDecl
()->hasAttr<AlwaysInlineAttr>())) {
217
SetLLVMFunctionAttributesForDefinition(cast<CXXMethodDecl>(GD.
getDecl
()), Fn);
224
auto *MD = cast<CXXMethodDecl>(GD.
getDecl
());
286
const auto *RD = cast<CXXRecordDecl>(RT->
getDecl
());
/src/external/apache2/llvm/dist/clang/lib/Sema/
ScopeInfo.cpp
77
D = cast<DeclRefExpr>(E)->
getDecl
();
88
D = IE->
getDecl
();
141
: Base(nullptr, true), Property(DRE->
getDecl
()) {
147
: Base(getBaseInfo(IvarE->getBase())), Property(IvarE->
getDecl
()) {
194
if (isa<VarDecl>(DRE->
getDecl
()))
/src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CallEvent.h
122
const Decl *
getDecl
() { return D; }
208
virtual const Decl *
getDecl
() const {
241
const Decl *D =
getDecl
();
346
const auto *ND = dyn_cast_or_null<NamedDecl>(
getDecl
());
497
const FunctionDecl *
getDecl
() const override {
498
return cast<FunctionDecl>(CallEvent::
getDecl
());
537
const FunctionDecl *
getDecl
() const override;
586
const BlockDecl *
getDecl
() const override {
590
return BR->
getDecl
();
594
const BlockDecl *BD =
getDecl
();
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/AST/
VTTBuilder.cpp
68
cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->
getDecl
());
94
cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->
getDecl
());
158
cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->
getDecl
());
Completed in 33 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>
Indexes created Mon Sep 21 00:25:25 UTC 2026