HomeSort by: relevance | last modified time | path
    Searched defs:FD (Results 1 - 25 of 117) sorted by relevancy

1 2 3 4 5

  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaSYCL.cpp 24 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext());
25 SemaDiagnosticBuilder::Kind DiagKind = [this, FD] {
26 if (!FD)
28 if (getEmissionStatus(FD) == Sema::FunctionEmissionStatus::Emitted)
32 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, FD, *this);
CoroutineStmtBuilder.h 26 FunctionDecl &FD;
37 CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclFriend.cpp 59 auto *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL,
61 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
62 return FD;
InheritViz.cpp 139 int FD;
142 Self.getAsString(), "dot", FD, Filename)) {
149 llvm::raw_fd_ostream O(FD, true);
Comment.cpp 233 const FunctionDecl *FD = cast<FunctionDecl>(CommentDecl);
235 ParamVars = FD->parameters();
236 ReturnType = FD->getReturnType();
237 unsigned NumLists = FD->getNumTemplateParameterLists();
241 FD->getTemplateParameterList(NumLists - 1);
266 const FunctionDecl *FD = FTD->getTemplatedDecl();
267 ParamVars = FD->parameters();
268 ReturnType = FD->getReturnType();
  /src/external/apache2/llvm/dist/clang/lib/Analysis/plugins/SampleAnalyzer/
MainCallChecker.cpp 21 const FunctionDecl *FD = C.getSVal(Callee).getAsFunctionDecl();
23 if (!FD)
27 IdentifierInfo *II = FD->getIdentifier();
  /src/external/apache2/llvm/dist/llvm/lib/Support/
FileOutputBuffer.cpp 98 int FD;
101 openFileForWrite(FinalPath, FD, CD_CreateAlways, OF_None, Mode))
103 raw_fd_ostream OS(FD, /*shouldClose=*/true, /*unbuffered=*/true);
134 if (auto EC = fs::resize_file_before_mapping_readwrite(File.FD, Size)) {
142 fs::mapped_file_region(fs::convertFDToNativeFile(File.FD),
FileCollector.cpp 160 int FD;
163 sys::fs::openFileForWrite(Filename, FD, sys::fs::CD_OpenExisting))
167 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime()))
170 if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
TarWriter.cpp 172 int FD;
174 openFileForWrite(OutputPath, FD, CD_CreateAlways, OF_None))
176 return std::unique_ptr<TarWriter>(new TarWriter(FD, BaseDir));
179 TarWriter::TarWriter(int FD, StringRef BaseDir)
180 : OS(FD, /*shouldClose=*/true, /*unbuffered=*/false),
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
TestingSupport.cpp 102 int FD;
103 if (auto Err = sys::fs::openFileForWrite(OutputFilename, FD)) {
108 raw_fd_ostream OS(FD, true);
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
ProgramPoint.cpp 122 if (const FieldDecl *FD = Init->getAnyMember()) {
123 Out << "\"field_decl\": \"" << *FD << '\"';
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
BuiltinFunctionChecker.cpp 36 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
37 if (!FD)
43 switch (FD->getBuiltinID()) {
118 if (FD->getBuiltinID() == Builtin::BI__builtin_constant_p) {
ObjCContainersASTChecker.cpp 85 const FunctionDecl *FD = CE->getDirectCallee();
86 if (!FD)
89 IdentifierInfo *II = FD->getIdentifier();
CStringSyntaxChecker.cpp 56 const FunctionDecl *FD = CE->getDirectCallee();
57 if (!FD)
59 return (CheckerContext::isCLibraryFunction(FD, "strlen") &&
214 const FunctionDecl *FD = CE->getDirectCallee();
215 if (!FD)
218 if (CheckerContext::isCLibraryFunction(FD, "strncat")) {
238 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument",
242 } else if (CheckerContext::isCLibraryFunction(FD, "strlcpy") ||
243 CheckerContext::isCLibraryFunction(FD, "strlcat")) {
262 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument"
    [all...]
NonNullParamChecker.cpp 52 const Decl *FD = Call.getDecl();
54 for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) {
242 const Decl *FD = LocContext->getDecl();
245 auto AbstractCall = AnyCall::forDecl(FD);
PointerArithChecker.cpp 49 AllocKind getKindOfNewOp(const CXXNewExpr *NE, const FunctionDecl *FD) const;
91 const FunctionDecl *FD) const {
94 if (isa<CXXMethodDecl>(FD))
96 if (FD->getNumParams() != 1 || FD->isVariadic())
220 const FunctionDecl *FD = C.getCalleeDecl(CE);
221 if (!FD)
223 IdentifierInfo *FunI = FD->getIdentifier();
242 const FunctionDecl *FD = NE->getOperatorNew();
243 if (!FD)
    [all...]
VforkChecker.cpp 83 auto FD = dyn_cast_or_null<FunctionDecl>(D);
84 if (!FD || !C.isCLibraryFunction(FD))
92 return FD->getIdentifier() == II_vfork;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/
Delta.cpp 34 int FD;
36 sys::fs::createTemporaryFile("llvm-reduce", "ll", FD, CurrentFilepath);
42 ToolOutputFile Out(CurrentFilepath, FD);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
dm_services.h 154 #define FD(reg_field) reg_field ## __SHIFT, \
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dmub/src/
dmub_reg.h 47 #define FD(reg_field) (REGS)->shift.reg_field, (REGS)->mask.reg_field
49 #define FN(reg_name, field) FD(reg_name##__##field)
  /src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
DependencyScanningTool.cpp 137 FullDependencies FD;
139 FD.ID.ContextHash = std::move(ContextHash);
141 FD.FileDeps.assign(Dependencies.begin(), Dependencies.end());
146 FD.ClangModuleDeps.push_back(MD.ID);
159 FDR.FullDeps = std::move(FD);
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexer.cpp 165 int FD;
166 if (llvm::sys::fs::createUniqueFile(TempPath, FD, TempPath,
170 llvm::raw_fd_ostream OS(FD, /*ShouldClose=*/true);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
llvm-objcopy.cpp 273 int FD;
282 sys::fs::openFileForWrite(Filename, FD, sys::fs::CD_OpenExisting))
287 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime()))
291 if (std::error_code EC = sys::fs::status(FD, OStat))
297 sys::fs::changeFileOwnership(FD, Stat.getUser(), Stat.getGroup());
306 if (auto EC = sys::fs::setPermissions(FD, Perm))
311 if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
CallGraph.h 112 bool VisitFunctionDecl(FunctionDecl *FD) {
115 if (includeInGraph(FD) && FD->isThisDeclarationADefinition()) {
117 addNodesForBlocks(FD);
121 addNodeForDecl(FD, FD->isGlobal());
165 Decl *FD;
171 CallGraphNode(Decl *D) : FD(D) {}
195 Decl *getDecl() const { return FD; }
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenMPRuntimeGPU.h 342 /// \param FD Field decl from captured record for the parameter.
344 const VarDecl *translateParameter(const FieldDecl *FD,
443 const FieldDecl *FD = nullptr;
450 MappedVarData(const FieldDecl *FD, bool IsOnePerTeam = false)
451 : FD(FD), IsOnePerTeam(IsOnePerTeam) {}

Completed in 77 milliseconds

1 2 3 4 5