/external/clang/lib/StaticAnalyzer/Checkers/ |
UnixAPIChecker.cpp | 352 const FunctionDecl *FD = C.getCalleeDecl(CE); 353 if (!FD || FD->getKind() != Decl::Function) 356 StringRef FName = C.getCalleeName(FD);
|
MallocSizeofChecker.cpp | 93 const FunctionDecl *FD = E->getDirectCallee(); 94 if (FD) { 95 IdentifierInfo *II = FD->getIdentifier();
|
NonNullParamChecker.cpp | 49 const Decl *FD = Call.getDecl(); 50 if (!FD) 56 for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) {
|
DeadStoresChecker.cpp | 433 const FieldDecl *FD = CaptureFields[VD]; 434 if (!FD) 438 if (FD->getType()->isReferenceType()) 460 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 461 if (FD->isTemplateInstantiation())
|
CallAndMessageChecker.cpp | 392 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D); 393 if (FD) { 396 unsigned Params = FD->getNumParams(); 430 if(FD && i < FD->getNumParams()) 431 ParamDecl = FD->getParamDecl(i);
|
MallocOverflowSecurityChecker.cpp | 311 const FunctionDecl *FD = TheCall->getDirectCallee(); 313 if (!FD) 317 IdentifierInfo *FnInfo = FD->getIdentifier();
|
UnreachableCodeChecker.cpp | 95 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 96 if (FD->isTemplateInstantiation())
|
/frameworks/compile/slang/ |
slang_rs_context.h | 108 bool processExportFunc(const clang::FunctionDecl *FD); 200 bool addForEach(const clang::FunctionDecl* FD); 242 int getForEachSlotNumber(const clang::FunctionDecl* FD); 256 void markUsedByReducePragma(clang::FunctionDecl *FD, CheckName Check);
|
slang_rs_export_type.cpp | 324 const clang::FieldDecl *FD = *FI; 325 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 336 if (FD->isBitField()) { 338 FD->getLocation(), 340 << RD->getName() << FD->getName(); 554 const clang::FieldDecl *FD = *FI; 555 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); [all...] |
/external/clang/lib/CodeGen/ |
CodeGenTypes.h | 187 const FunctionDecl *FD = nullptr); 242 const CGFunctionInfo &arrangeFunctionDeclaration(const FunctionDecl *FD); 276 const FunctionDecl *FD);
|
/external/clang/lib/Sema/ |
ScopeInfo.cpp | 111 for (auto *FD : RD->fields()) { 112 if (FD->hasCapturedVLAType() && FD->getCapturedVLAType() == VAT)
|
SemaStmt.cpp | 251 if (const Decl *FD = CE->getCalleeDecl()) { 252 const FunctionDecl *Func = dyn_cast<FunctionDecl>(FD); 254 : FD->hasAttr<WarnUnusedResultAttr>()) { 260 if (FD->hasAttr<PureAttr>()) { 264 if (FD->hasAttr<ConstAttr>()) { [all...] |
SemaStmtAsm.cpp | 661 FieldDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); 662 if (!FD) 668 unsigned i = FD->getFieldIndex(); 694 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); 695 if (!FD) 696 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); 697 if (!FD) 700 Offset = (unsigned)Context.toCharUnitsFromBits(Context.getFieldOffset(FD))
|
/external/llvm/lib/Support/ |
GraphWriter.cpp | 67 std::string llvm::createGraphFilename(const Twine &Name, int &FD) { 68 FD = -1; 70 std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
|
/external/llvm/tools/dsymutil/ |
dsymutil.cpp | 182 int FD; 184 if (auto EC = getUniqueFile(OutputFile, FD, UniqueFile)) { 193 llvm::raw_fd_ostream CloseImmediately(FD, true /* shouldClose */, true);
|
/external/llvm/unittests/Support/ |
MemoryBufferTest.cpp | 138 // immediately visible through the fd. 182 int FD; 184 sys::fs::createTemporaryFile("MemoryBufferTest_Slice", "temp", FD, TestPath); 185 raw_fd_ostream OF(FD, true, /*unbuffered=*/true);
|
/art/test/ |
run-test | 352 # output (fd 2). 358 FD=3 359 while [ -e /dev/fd/$FD ]; do FD=$((FD + 1)); done 360 real_stderr=$FD
|
/external/clang/lib/Analysis/ |
AnalysisDeclContext.cpp | 95 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 96 Stmt *Body = FD->getBody(); 98 Body = getBodyFarm(getASTContext(), Manager->Injector.get()).getBody(FD); 293 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 294 // Calling 'hasBody' replaces 'FD' in place with the FunctionDecl 296 FD->hasBody(FD); 297 D = FD;
|
/external/clang/lib/AST/ |
ItaniumMangle.cpp | 76 if (const auto *FD = dyn_cast<FunctionDecl>(D)) 77 if (FD->isExternC()) 78 return FD->getASTContext().getTranslationUnitDecl(); 304 void mangleFunctionEncoding(const FunctionDecl *FD); 381 const FunctionDecl *FD = nullptr); 412 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); 413 if (FD) { 414 LanguageLinkage L = FD->getLanguageLinkage(); 416 if (FD->hasAttr<OverloadableAttr>()) 420 if (FD->isMain() [all...] |
ExprConstant.cpp | 135 } else if (const FieldDecl *FD = getAsField(Path[I])) { 136 Type = FD->getType(); 259 if (const FieldDecl *FD = dyn_cast<FieldDecl>(D)) { 260 MostDerivedType = FD->getType(); [all...] |
CommentSema.cpp | 683 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 686 const DeclContext *Ctx = FD->getDeclContext(); 688 FD->doesThisDeclarationHaveABody()) 698 StringRef MacroName = PP->getLastMacroWithSpelling(FD->getLocation(), 706 Diag(FD->getLocEnd(), 708 << FixItHint::CreateInsertion(FD->getLocEnd().getLocWithOffset(1), 818 if (const FunctionDecl *FD = 820 return FD->isVariadic(); [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
MemRegion.h | 546 const NamedDecl *FD; 548 FunctionTextRegion(const NamedDecl *fd, const MemRegion* sreg) 549 : CodeTextRegion(sreg, FunctionTextRegionKind), FD(fd) { 550 assert(isa<ObjCMethodDecl>(fd) || isa<FunctionDecl>(fd)); 555 if (const FunctionDecl *D = dyn_cast<FunctionDecl>(FD)) { 559 assert(isa<ObjCMethodDecl>(FD)); 568 return FD; 575 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const NamedDecl *FD, [all...] |
/external/clang/tools/libclang/ |
CXCursor.cpp | [all...] |
/external/clang/lib/Serialization/ |
ASTCommon.cpp | 357 if (auto *FD = dyn_cast<FunctionDecl>(D)) 358 return !FD->getDescribedFunctionTemplate();
|
/external/clang/lib/StaticAnalyzer/Core/ |
SVals.cpp | 55 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CTR->getDecl())) 56 return FD;
|