Searched refs:getLangOpts (Results 51 - 75 of 250) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp388 getDiagnostics(), getLangOpts(), &getTarget());
390 getDiagnostics(), getLangOpts(),
394 getTarget().adjust(getLangOpts());
417 PP->getLangOpts(), *HeaderSearchTriple);
421 if (PP->getLangOpts().Modules && PP->getLangOpts().ImplicitModules)
484 auto *Context = new ASTContext(getLangOpts(), PP.getSourceManager(),
921 if ((getLangOpts().CUDA || getLangOpts().OpenMPIsDevice ||
922 getLangOpts()
[all...]
H A DASTMerge.cpp36 CI.getASTContext().getLangOpts());
H A DChainedIncludesSource.cpp156 Clang->getDiagnosticClient().BeginSourceFile(Clang->getLangOpts(),
173 PP.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp251 Clang->getLangOpts());
262 Clang->getLangOpts());
272 Clang->getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp122 if (getLangOpts().CPlusPlus2a) {
522 if (!getLangOpts().isCompilingModule())
525 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule);
724 if (getLangOpts().MSVCCompat && II->isCPlusPlusOperatorKeyword() &&
852 Diag(Identifier, getFutureCompatDiagKind(II, getLangOpts()))
876 (getLangOpts().Modules || getLangOpts().DebuggerSupport) &&
920 if (getLangOpts().CPlusPlusModules && LexLevel == 1 &&
1130 if (ModuleImportPath.empty() && getLangOpts().CPlusPlusModules) {
1257 if (getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h78 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::edit::EditedSource
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp57 Var->getASTContext().getLangOpts().CPlusPlus)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp39 Context.getLangOpts()),
H A DUSRLocFinder.cpp61 Context.getLangOpts()),
90 BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts());
93 Context.getSourceManager(), Context.getLangOpts());
560 SM, TranslationUnitDecl->getASTContext().getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistration.cpp35 CheckerRegistry allCheckers(plugins, diags, opts, context.getLangOpts(),
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h302 LangOptions &getLangOpts() { function in class:clang::CompilerInstance
303 return *Invocation->getLangOpts();
305 const LangOptions &getLangOpts() const { function in class:clang::CompilerInstance
306 return *Invocation->getLangOpts();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h86 const LangOptions &getLangOpts() const { function in class:clang::ento::AnalysisManager
H A DCheckerContext.h87 const LangOptions &getLangOpts() const { function in class:clang::ento::CheckerContext
88 return Eng.getContext().getLangOpts();
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp43 if (!Ctx.getLangOpts().CPlusPlus) {
104 const LangOptions &Lang = Ctx.getLangOpts();
455 (Ctx.getLangOpts().CPlusPlus &&
467 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue;
488 if (!Ctx.getLangOpts().CPlusPlus) {
540 assert(Ctx.getLangOpts().CPlusPlus &&
576 assert(Ctx.getLangOpts().CPlusPlus &&
625 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType())
640 if (Ctx.getLangOpts().OpenCL &&
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp142 if (CGM.getLangOpts().HIP)
148 if (CGM.getLangOpts().HIP)
156 RelocatableDeviceCode(CGM.getLangOpts().GPURelocatableDeviceCode),
180 if (CGM.getLangOpts().HIP) {
240 CGF.getLangOpts().HIPUseNewLaunchAPI)
487 bool IsHIP = CGM.getLangOpts().HIP;
488 bool IsCUDA = CGM.getLangOpts().CUDA;
778 if (CGM.getLangOpts().HIP) {
801 if (!CGM.getLangOpts().HIP)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp67 Diag(KWLoc, getLangOpts().CPlusPlus11
77 Diag(KWLoc, getLangOpts().CPlusPlus11
110 if (getLangOpts().DelayedTemplateParsing &&
353 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
430 getLangOpts().CPlusPlus11);
904 if (getLangOpts().CPlusPlus11)
923 if (!getLangOpts().CPlusPlus11)
1155 if (!getLangOpts().CPlusPlus11)
1161 if (!getLangOpts().CPlusPlus11)
H A DParseTemplate.cpp681 if (!getLangOpts().CPlusPlus2a)
779 getLangOpts().CPlusPlus11
867 getLangOpts().CPlusPlus17
870 << (!getLangOpts().CPlusPlus17
889 getLangOpts().CPlusPlus11
1107 getLangOpts()));
1122 if (getLangOpts().CPlusPlus11 &&
1133 TokLoc, 1, PP.getSourceManager(), getLangOpts());
1279 assert(getLangOpts().CPlusPlus && "Can only annotate template-ids in C++");
1779 (getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp109 if (getLangOpts().ObjCAutoRefCount) {
325 if (getLangOpts().ObjCAutoRefCount && ME->isDelegateInitCall()) {
394 if (!getLangOpts().C99 && !getLangOpts().CPlusPlus) {
435 getLangOpts().CPlusPlus11);
447 if (getLangOpts().CPlusPlus11) {
577 if ((getLangOpts().C99 || getLangOpts().CPlusPlus) &&
765 if (S.getLangOpts().CPlusPlus11)
1353 if (Cond && !getLangOpts()
[all...]
H A DSemaObjCProperty.cpp132 if (S.getLangOpts().getGC() != LangOptions::NonGC) {
331 Context.getLangOpts(),
593 isAssign = (!getLangOpts().ObjCAutoRefCount ||
599 if (getLangOpts().getGC() != LangOptions::NonGC &&
717 } else if (getLangOpts().ObjCRuntime.allowsDirectDispatch()) {
747 S.getLangOpts().ObjCAutoRefCount) ||
1233 if (getLangOpts().ObjCAutoRefCount &&
1246 if (getLangOpts().getGC() != LangOptions::NonGC) {
1247 assert(!getLangOpts().ObjCAutoRefCount);
1259 if (!getLangOpts()
[all...]
H A DSemaCodeComplete.cpp754 if (AllowNestedNameSpecifiers && SemaRef.getLangOpts().CPlusPlus &&
774 if (!SemaRef.getLangOpts().CPlusPlus)
1009 if (!SemaRef.getLangOpts().CPlusPlus || !R.Declaration ||
1362 if (SemaRef.getLangOpts().CPlusPlus)
1364 else if (SemaRef.getLangOpts().ObjC) {
1387 if (SemaRef.getLangOpts().CPlusPlus)
1389 else if (SemaRef.getLangOpts().ObjC) {
1414 if (SemaRef.getLangOpts().CPlusPlus)
1512 if (!C.getLangOpts().CPlusPlus)
1543 if ((SemaRef.getLangOpts()
[all...]
H A DSemaExprCXX.cpp542 if (getLangOpts().OpenCLCPlusPlus) {
566 if (!getLangOpts().RTTI) {
761 if (!getLangOpts().CXXExceptions &&
762 !getSourceManager().isInSystemHeader(OpLoc) && !getLangOpts().CUDA) {
768 if (getLangOpts().CUDA)
1438 if (getLangOpts().CUDA &&
1445 if (Result || !getLangOpts().CUDA || PreventedBy.empty())
1469 if (S.getLangOpts().SizedDeallocation && UsualParams < FD->getNumParams() &&
1475 if (S.getLangOpts().AlignedAllocation && UsualParams < FD->getNumParams() &&
1515 if (S.getLangOpts()
[all...]
H A DSemaLambda.cpp466 if (!MCtx && getLangOpts().CUDA) {
697 assert((!isa<LambdaScopeInfo>(CSI) || !getLangOpts().CPlusPlus14) &&
740 if (!getLangOpts().CPlusPlus) {
803 Diag(EllipsisLoc, getLangOpts().CPlusPlus2a
933 getLangOpts().CPlusPlus14 ? Context.getAutoDeductType()
995 if (getLangOpts().CUDA)
1035 Diag(C->Loc, !getLangOpts().CPlusPlus17
1056 Diag(C->Loc, !getLangOpts().CPlusPlus2a
1084 Diag(C->Loc, getLangOpts().CPlusPlus14
1382 S.getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp127 Ty.print(Out, Context.getLangOpts());
144 E.getSrc()->printTerminatorJson(Out, Context.getLangOpts(),
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp218 Result.Context->getLangOpts());
230 Result.Context->getLangOpts());
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp432 LangOptions &lang_opts = m_compiler->getLangOpts();
570 m_compiler->getTarget().adjust(m_compiler->getLangOpts());
604 m_compiler->getLangOpts());
863 CodeComplete CC(request, m_compiler->getLangOpts(), llvm_expr->GetUserText(),
939 diag_buf->BeginSourceFile(m_compiler->getLangOpts(),
977 if (ast_context.getLangOpts().Modules) {
1005 if (ast_context.getLangOpts().Modules) {
1019 if (ast_context.getLangOpts().Modules)
1071 clang::edit::EditedSource editor(source_manager, m_compiler->getLangOpts(),
1074 clang::Rewriter rewriter(source_manager, m_compiler->getLangOpts());
[all...]

Completed in 505 milliseconds

12345678910