/freebsd-10.2-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGRecordLayoutBuilder.cpp | 230 const FieldDecl *FD, 234 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); 239 bool IsSigned = FD->getType()->isSignedIntegerOrEnumerationType(); 367 FieldDecl *FD = *BFI; local 369 uint64_t FieldSize = FD->getBitWidthValue(Types.getContext()); 370 Fields[FD] = FieldIndex; 371 BitFields[FD] = CGBitFieldInfo::MakeInfo(Types, FD, FieldOffset, FieldSize, 765 FieldDecl *FD = *FI; local 770 if (FD 229 MakeInfo(CodeGenTypes &Types, const FieldDecl *FD, uint64_t Offset, uint64_t Size, uint64_t StorageSize, uint64_t StorageAlignment) argument 1017 const FieldDecl *FD = *it; local [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 965 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local 969 FD = TFD->getTemplatedDecl(); 971 if (!FD) 976 assert(CurContext == FD->getLexicalParent() && 978 CurContext = FD; 981 for (unsigned P = 0, NumParams = FD->getNumParams(); P < NumParams; ++P) { 982 ParmVarDecl *Param = FD->getParamDecl(P); 1212 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 1213 if (FD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) 1216 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { 2261 canRedefineFunction(const FunctionDecl *FD, const LangOptions& LangOpts) argument 4834 isFunctionDefinitionDiscarded(Sema &S, FunctionDecl *FD) argument 4900 shouldConsiderLinkage(const FunctionDecl *FD) argument 6006 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); local 6069 FunctionDecl *FD = dyn_cast<FunctionDecl>(*Func); local 6092 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); local 6155 FunctionDecl *FD = NearMatch->first; local 6500 const FieldDecl *FD = *I; local 7671 getResultSourceRange(const FunctionDecl *FD) argument 7688 CheckMain(FunctionDecl* FD, const DeclSpec& DS) argument 7826 CheckMSVCRTEntryPoint(FunctionDecl *FD) argument 9376 ShouldWarnAboutMissingPrototype(const FunctionDecl *FD, const FunctionDecl*& PossibleZeroParamPrototype) argument 9428 CheckForFunctionRedefinition(FunctionDecl *FD, const FunctionDecl *EffectiveDefinition) argument 9737 FunctionDecl *FD = 0; local 9985 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(TUScope, D)); local 10004 AddKnownFunctionAttributes(FunctionDecl *FD) argument 11565 CheckNontrivialField(FieldDecl *FD) argument 11830 FieldDecl *FD = cast<FieldDecl>(*i); local [all...] |
H A D | Sema.cpp | 347 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 351 if (FD->hasBody(DeclToCheck)) 356 DeclToCheck = FD->getMostRecentDecl(); 357 if (DeclToCheck != FD) 420 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { 421 if (FD->isDefined()) 423 if (FD->isExternallyVisible() && 424 !FD->getMostRecentDecl()->isInlined()) 548 if (const FunctionDecl *FD = 550 Complete = FD [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NonNullParamChecker.cpp | 47 const Decl *FD = Call.getDecl(); local 48 if (!FD) 51 const NonNullAttr *Att = FD->getAttr<NonNullAttr>();
|
H A D | ObjCContainersASTChecker.cpp | 86 const FunctionDecl *FD = CE->getDirectCallee(); local 87 if (!FD) 90 IdentifierInfo *II = FD->getIdentifier();
|
H A D | MacOSKeychainAPIChecker.cpp | 284 const FunctionDecl *FD = C.getCalleeDecl(CE); local 285 if (!FD || FD->getKind() != Decl::Function) 288 StringRef funName = C.getCalleeName(FD); 446 const FunctionDecl *FD = C.getCalleeDecl(CE); local 447 if (!FD || FD->getKind() != Decl::Function) 450 StringRef funName = C.getCalleeName(FD);
|
H A D | UnixAPIChecker.cpp | 333 const FunctionDecl *FD = C.getCalleeDecl(CE); local 334 if (!FD || FD->getKind() != Decl::Function) 337 StringRef FName = C.getCalleeName(FD);
|
H A D | MallocOverflowSecurityChecker.cpp | 242 const FunctionDecl *FD = TheCall->getDirectCallee(); local 244 if (!FD) 248 IdentifierInfo *FnInfo = FD->getIdentifier();
|
H A D | MallocSizeofChecker.cpp | 94 const FunctionDecl *FD = E->getDirectCallee(); local 95 if (FD) { 96 IdentifierInfo *II = FD->getIdentifier();
|
H A D | ObjCUnusedIVarsChecker.cpp | 106 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { 107 SourceLocation L = FD->getLocStart(); 109 Scan(M, FD->getBody());
|
/freebsd-10.2-release/contrib/llvm/lib/Support/Unix/ |
H A D | Program.inc | 101 static bool RedirectIO(const StringRef *Path, int FD, std::string* ErrMsg) { 112 int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666); 115 + (FD == 0 ? "input" : "output")); 119 // Install it as the requested FD 120 if (dup2(InFD, FD) == -1) { 125 close(InFD); // Close the original FD 130 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg, 142 FileActions, FD, File, 143 FD == 0 ? O_RDONLY : O_WRONLY | O_CREAT, 0666)) 228 // to the FD alread [all...] |
/freebsd-10.2-release/usr.bin/tip/tip/ |
H A D | acu.c | 76 parwrite(FD, CM, size(CM)); 150 parwrite(FD, CM, size(CM));
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 342 FunctionDecl *FD = CNE->getOperatorNew(); local 345 if (FD && !isa<CXXMethodDecl>(FD) && !FD->isVariadic()) { 346 if (FD->getNumParams() == 2) { 347 QualType T = FD->getParamDecl(1)->getType(); 354 IsStandardGlobalOpNewFunction = (FD->getNumParams() == 1); 385 if (FD) { 386 QualType Ty = FD->getType(); 412 if (FD [all...] |
H A D | ExprEngineCallAndReturn.cpp | 385 static bool IsInStdNamespace(const FunctionDecl *FD) { argument 386 const DeclContext *DC = FD->getEnclosingNamespaceContext(); 715 const FunctionDecl *FD) { 716 if (!(isa<CXXConstructorDecl>(FD) || isa<CXXDestructorDecl>(FD))) 719 const CXXRecordDecl *RD = cast<CXXMethodDecl>(FD)->getParent(); 725 static bool isCXXSharedPtrDtor(const FunctionDecl *FD) { argument 726 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); 752 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CalleeADC->getDecl())) { 755 if (FD 714 isContainerCtorOrDtor(const ASTContext &Ctx, const FunctionDecl *FD) argument [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Basic/ |
H A D | FileManager.cpp | 63 if (FD != -1) ::close(FD); 335 // If the stat process opened the file, close it to avoid a FD leak. 350 UFE.FD = FileDescriptor; 396 if (UFE->FD != -1) { 397 close(UFE->FD); 398 UFE->FD = -1; 417 UFE->FD = -1; 447 if (Entry->FD != -1) { 448 ec = llvm::MemoryBuffer::getOpenFile(Entry->FD, Filenam [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTMutationListener.h | 69 virtual void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType);
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 253 const FunctionDecl* FD = cast<FunctionDecl>(DC); local 254 if (FD->doesThisDeclarationHaveABody()) 258 Out << *FD; local 262 for (FunctionDecl::param_const_iterator I = FD->param_begin(), 263 E = FD->param_end(); I != E; ++I) { 412 FieldDecl *FD = cast<FieldDecl>(*I); local 413 Out << "<field> " << *FD << '\n'; local
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 254 void VisitFunctionDecl(FunctionDecl *FD); 259 void VisitFieldDecl(FieldDecl *FD); 260 void VisitMSPropertyDecl(MSPropertyDecl *FD); 261 void VisitIndirectFieldDecl(IndirectFieldDecl *FD); 345 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 347 // We only read it if FD doesn't already have a body (e.g., from another 352 Reader.PendingBodies[FD] = GetCurrentCursorOffset(); 546 void ASTDeclReader::VisitFunctionDecl(FunctionDecl *FD) { argument 547 RedeclarableResult Redecl = VisitRedeclarable(FD); 548 VisitDeclaratorDecl(FD); 837 VisitObjCAtDefsFieldDecl(ObjCAtDefsFieldDecl *FD) argument 925 VisitFieldDecl(FieldDecl *FD) argument 945 VisitIndirectFieldDecl(IndirectFieldDecl *FD) argument 2983 FunctionDecl *FD = cast<FunctionDecl>(D); local [all...] |
/freebsd-10.2-release/contrib/llvm/include/llvm/Support/ |
H A D | GraphWriter.h | 322 std::string createGraphFilename(const Twine &Name, int &FD); 327 int FD; local 328 std::string Filename = createGraphFilename(Name, FD); 329 raw_fd_ostream O(FD, /*shouldClose=*/ true); 331 if (FD == -1) {
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | MicrosoftMangle.cpp | 122 void mangleFunctionEncoding(const FunctionDecl *FD); 147 void mangleLocalName(const FunctionDecl *FD); 164 void mangleFunctionClass(const FunctionDecl *FD); 218 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 219 LanguageLinkage L = FD->getLanguageLinkage(); 221 if (FD->hasAttr<OverloadableAttr>()) 233 if (FD->isMSVCRTEntryPoint()) 238 if (!FD->getDeclName().isIdentifier() || L == CXXLanguageLinkage) 281 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 282 mangleFunctionEncoding(FD); 296 mangleFunctionEncoding(const FunctionDecl *FD) argument 809 getLocalNestingLevel(const FunctionDecl *FD) argument 821 mangleLocalName(const FunctionDecl *FD) argument 1357 mangleFunctionClass(const FunctionDecl *FD) argument [all...] |
H A D | RecordLayoutBuilder.cpp | 88 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset); 115 bool CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, 138 bool CanPlaceFieldAtOffset(const FieldDecl *FD, CharUnits Offset); 394 EmptySubobjectMap::CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, argument 401 QualType T = FD->getType(); 436 EmptySubobjectMap::CanPlaceFieldAtOffset(const FieldDecl *FD, argument 438 if (!CanPlaceFieldSubobjectAtOffset(FD, Offset)) 443 UpdateEmptyFieldSubobjects(FD, Offset); 500 void EmptySubobjectMap::UpdateEmptyFieldSubobjects(const FieldDecl *FD, argument 502 QualType T = FD 2152 getAdjustedFieldInfo(const FieldDecl *FD) argument 2412 layoutField(const FieldDecl *FD) argument 2435 layoutBitField(const FieldDecl *FD) argument 2478 layoutZeroWidthBitField(const FieldDecl *FD) argument 2820 getFieldOffset(const ASTContext &C, const FieldDecl *FD) argument [all...] |
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 361 bool VisitFunctionDecl(FunctionDecl *FD) { argument 362 IdentifierInfo *II = FD->getIdentifier(); 368 if (FD->isThisDeclarationADefinition() && 369 !FD->isDependentContext()) { 371 HandleCode(FD, RecVisitorMode); 738 int FD; local 739 llvm::sys::fs::createTemporaryFile("llvm_ubi", "", FD, P); 743 Stream.reset(new llvm::raw_fd_ostream(FD, true));
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 90 if (const FunctionDecl *FD = callE->getDirectCallee()) { 91 if (FD->getAttr<CFReturnsRetainedAttr>()) 94 if (FD->isGlobal() && 95 FD->getIdentifier() && 96 FD->getParent()->isTranslationUnit() && 97 FD->isExternallyVisible() && 99 FD->getIdentifier()->getName())) { 100 StringRef fname = FD->getIdentifier()->getName();
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Checkers/ |
H A D | ObjCRetainCount.h | 217 static CallEffects getEffect(const FunctionDecl *FD);
|
/freebsd-10.2-release/contrib/llvm/lib/Support/ |
H A D | GraphWriter.cpp | 68 std::string llvm::createGraphFilename(const Twine &Name, int &FD) { argument 69 FD = -1; 71 error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
|