Searched refs:getLangOpts (Results 76 - 100 of 267) sorted by relevance

1234567891011

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp109 if (getLangOpts().ObjCAutoRefCount) {
325 if (getLangOpts().ObjCAutoRefCount && ME->isDelegateInitCall()) {
407 if (!getLangOpts().C99 && !getLangOpts().CPlusPlus) {
448 getLangOpts().CPlusPlus11);
460 if (getLangOpts().CPlusPlus11) {
592 if ((getLangOpts().C99 || getLangOpts().CPlusPlus) &&
780 if (S.getLangOpts().CPlusPlus11)
1369 if (Cond && !getLangOpts()
[all...]
H A DSemaExprCXX.cpp621 if (getLangOpts().OpenCLCPlusPlus) {
645 if (!getLangOpts().RTTI) {
830 if (!getLangOpts().CXXExceptions &&
831 !getSourceManager().isInSystemHeader(OpLoc) && !getLangOpts().CUDA) {
837 if (getLangOpts().CUDA)
1512 if (getLangOpts().CUDA &&
1519 if (Result || !getLangOpts().CUDA || PreventedBy.empty())
1543 if (S.getLangOpts().SizedDeallocation && UsualParams < FD->getNumParams() &&
1549 if (S.getLangOpts().AlignedAllocation && UsualParams < FD->getNumParams() &&
1589 if (S.getLangOpts()
[all...]
H A DSemaAttr.cpp83 if (VtorDispStack.CurrentValue != getLangOpts().getVtorDispMode())
478 CurFPFeatures = NewOverrides.applyOverrides(getLangOpts());
671 Range.getEnd(), tok::comma, S.getSourceManager(), S.getLangOpts(),
986 CurFPFeatures = NewFPFeatures.applyOverrides(getLangOpts());
1000 CurFPFeatures = NewOverrides.applyOverrides(getLangOpts());
1012 CurFPFeatures = NewOverrides.applyOverrides(getLangOpts());
1025 CurFPFeatures = NewOverrides.applyOverrides(getLangOpts());
1046 CurFPFeatures = NewOverrides.applyOverrides(getLangOpts());
H A DSemaLambda.cpp466 if (!MCtx && getLangOpts().CUDA) {
697 assert((!isa<LambdaScopeInfo>(CSI) || !getLangOpts().CPlusPlus14) &&
740 if (!getLangOpts().CPlusPlus) {
803 Diag(EllipsisLoc, getLangOpts().CPlusPlus20
934 getLangOpts().CPlusPlus14 ? Context.getAutoDeductType()
995 if (getLangOpts().CUDA)
1035 Diag(C->Loc, !getLangOpts().CPlusPlus17
1056 Diag(C->Loc, !getLangOpts().CPlusPlus20
1084 Diag(C->Loc, getLangOpts().CPlusPlus14
1384 S.getLangOpts()
[all...]
H A DSemaExprMember.cpp137 if (isField && SemaRef.getLangOpts().CPlusPlus11)
345 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 220) {
349 << S.getLangOpts().OpenCLVersion << SourceRange(CompLoc);
388 if (S.getLangOpts().OpenCL && !HalvingSwizzle) {
498 if (PT && (!getLangOpts().ObjC ||
712 Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts());
1293 if (!S.getLangOpts().CPlusPlus) {
1339 if (S.getLangOpts().ObjCAutoRefCount &&
1435 if (!S.getLangOpts()
[all...]
H A DSemaDeclCXX.cpp323 if (!getLangOpts().CPlusPlus) {
528 if (getLangOpts().MicrosoftExt) {
724 !getLangOpts().CPlusPlus17
778 getLangOpts().CPlusPlus20
795 getLangOpts().CPlusPlus20)
1506 if (!getLangOpts().CXXExceptions)
1728 if (getLangOpts().CPlusPlus20) {
1825 SemaRef.getLangOpts().CPlusPlus14
1829 } else if (!SemaRef.getLangOpts().CPlusPlus14) {
1868 SemaRef.getLangOpts()
[all...]
H A DSemaExprObjC.cpp93 } else if (getLangOpts().NoConstantCFStrings) {
95 std::string StringClass(getLangOpts().ObjCConstantStringClass);
205 } else if (!Decl->hasDefinition() && !S.getLangOpts().DebuggerObjCLiteral) {
226 if (!ID && S.getLangOpts().DebuggerObjCLiteral) {
284 if (!Method && S.getLangOpts().DebuggerObjCLiteral) {
371 if (getLangOpts().CPlusPlus) {
400 if (S.getLangOpts().CPlusPlus && Element->getType()->isRecordType()) {
560 if (!BoxingMethod && getLangOpts().DebuggerObjCLiteral) {
673 if (!BoxingMethod && getLangOpts().DebuggerObjCLiteral) {
810 if (!Method && getLangOpts()
[all...]
H A DSemaInit.cpp42 if (Context.getLangOpts().CPlusPlus || Context.getLangOpts().C11) {
94 Context.getLangOpts().Char8)
213 if (S.getLangOpts().CPlusPlus) {
382 unsigned DiagID = SemaRef.getLangOpts().CPlusPlus
386 if (InOverloadResolution && SemaRef.getLangOpts().CPlusPlus) {
496 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 &&
1079 !ParentIList->isIdiomaticZeroInitializer(SemaRef.getLangOpts()) &&
1192 bool ExtraInitsIsError = SemaRef.getLangOpts().CPlusPlus ||
1193 (SemaRef.getLangOpts()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp156 Clang->getDiagnosticClient().BeginSourceFile(Clang->getLangOpts(),
173 PP.getLangOpts());
H A DInterfaceStubFunctionsConsumer.cpp69 !Instance.getLangOpts().GNUInline)
273 if (Instance.getLangOpts().DelayedTemplateParsing) {
303 << (Symbol.ParentName.empty() || Instance.getLangOpts().CPlusPlus
H A DASTUnit.cpp281 getDiagnostics().getClient()->BeginSourceFile(Ctx->getLangOpts(), PP.get());
394 R.Declaration, Ctx->getLangOpts(), IsNestedNameSpecifier);
426 if (TheSema->Context.getLangOpts().CPlusPlus && IsNestedNameSpecifier &&
791 AST->getLangOpts(),
866 AST->getDiagnostics().getClient()->BeginSourceFile(PP.getLangOpts(), &PP);
1151 Clang->getTarget().adjust(Clang->getLangOpts());
1317 ComputePreambleBounds(*PreambleInvocationIn.getLangOpts(),
1585 Clang->getTarget().adjust(Clang->getLangOpts());
1934 if (AST.getASTContext().getLangOpts().CPlusPlus)
2033 if (Ctx.getLangOpts()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp218 Result.Context->getLangOpts());
230 Result.Context->getLangOpts());
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h87 const LangOptions &getLangOpts() const { function in class:clang::ento::CheckerContext
88 return Eng.getContext().getLangOpts();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp128 Ty.print(Out, Context.getLangOpts());
145 E.getSrc()->printTerminatorJson(Out, Context.getLangOpts(),
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp474 LangOptions &lang_opts = m_compiler->getLangOpts();
612 m_compiler->getTarget().adjust(m_compiler->getLangOpts());
646 m_compiler->getLangOpts());
955 CodeComplete CC(m_compiler->getLangOpts(), llvm_expr->GetUserText(),
1031 adapter->BeginSourceFile(m_compiler->getLangOpts(),
1069 if (ast_context.getLangOpts().Modules) {
1097 if (ast_context.getLangOpts().Modules) {
1111 if (ast_context.getLangOpts().Modules)
1185 clang::edit::EditedSource editor(source_manager, m_compiler->getLangOpts(),
1188 clang::Rewriter rewriter(source_manager, m_compiler->getLangOpts());
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp128 if (CGM.getLangOpts().Exceptions)
135 findBlockCapturedManagedEntities(BlockInfo, CGM.getContext().getLangOpts(),
192 if (CGM.getLangOpts().OpenCL)
202 if (C.getLangOpts().ObjC &&
203 CGM.getLangOpts().getGC() == LangOptions::NonGC) {
248 if (C.getLangOpts().ObjC) {
249 if (CGM.getLangOpts().getGC() != LangOptions::NonGC)
258 if (C.getLangOpts().OpenCL)
430 if (CGM.getLangOpts().CPlusPlus && !isSafeForCXXConstantCapture(type))
452 if (CGM.getLangOpts()
[all...]
H A DCGDecl.cpp204 if (CGM.getLangOpts().CPlusPlus)
329 if (!getLangOpts().CPlusPlus)
414 bool isCudaSharedVar = getLangOpts().CUDA && getLangOpts().CUDAIsDevice &&
1385 (Ty.getAddressSpace() == LangAS::opencl_private && getLangOpts().OpenCL));
1404 if (CGM.getLangOpts().OpenMPIRBuilder)
1408 getLangOpts().OpenMP
1412 bool NRVO = getLangOpts().ElideConstructors && D.isNRVOVariable();
1414 if (getLangOpts().OpenMP && OpenMPLocalAddr.isValid()) {
1436 if ((!getLangOpts()
[all...]
H A DCodeGenFunction.cpp68 SanOpts(CGM.getLangOpts().Sanitize), CurFPFeatures(CGM.getLangOpts()),
71 shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) {
82 if (getLangOpts().OpenMP && CurFn)
90 if (CGM.getLangOpts().OpenMPIRBuilder)
108 llvm::RoundingMode RM = getLangOpts().getFPRoundingMode();
110 getLangOpts().getFPExceptionMode());
842 if (getLangOpts().OpenCL) {
850 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function)) {
895 if ((getLangOpts()
[all...]
H A DCodeGenModule.cpp101 : Context(C), LangOpts(C.getLangOpts()), HeaderSearchOpts(HSO),
148 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(),
159 if (C.getLangOpts().ObjC)
214 assert(getLangOpts().OpenMPIsDevice &&
412 if (Context.getLangOpts().CUDA && !Context.getLangOpts().CUDAIsDevice &&
454 (Context.getLangOpts().Modules || !LinkerOptionsMetadata.empty())) {
470 if (!ELFDependentLibraries.empty() && !Context.getLangOpts().CUDAIsDevice) {
486 if (Context.getLangOpts().SemanticInterposition)
489 else if (Context.getLangOpts()
[all...]
H A DCGObjC.cpp129 if (NumElements == 0 && CGM.getLangOpts().ObjCRuntime.hasEmptyCollections()) {
160 (getLangOpts().ObjCAutoRefCount &&
381 auto &Runtime = CGM.getLangOpts().ObjCRuntime;
407 CGM.getLangOpts().getGC() == LangOptions::NonGC &&
414 CGM.getLangOpts().getGC() == LangOptions::NonGC &&
421 CGM.getLangOpts().getGC() == LangOptions::NonGC &&
453 auto &Runtime = CGF.getLangOpts().ObjCRuntime;
530 CGM.getLangOpts().ObjCAutoRefCount &&
583 if (getLangOpts().ObjCAutoRefCount && method &&
601 assert(getLangOpts()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h433 const LangOptions &getLangOpts() const { return PP.getLangOpts(); } function in namespace:clang
877 if (!getLangOpts().AltiVec && !getLangOpts().ZVector)
882 (!getLangOpts().AltiVec || Tok.getIdentifierInfo() != Ident_pixel))
892 if ((!getLangOpts().AltiVec && !getLangOpts().ZVector) ||
906 assert(getLangOpts().ObjC);
2373 if (getLangOpts().CPlusPlus)
2382 if (getLangOpts()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp67 Diag(KWLoc, getLangOpts().CPlusPlus11
77 Diag(KWLoc, getLangOpts().CPlusPlus11
110 if (getLangOpts().DelayedTemplateParsing &&
377 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
454 getLangOpts().CPlusPlus11);
987 if (getLangOpts().CPlusPlus11)
1006 if (!getLangOpts().CPlusPlus11)
1235 if (!getLangOpts().CPlusPlus11)
1241 if (!getLangOpts().CPlusPlus11)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp45 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts());
449 Lexer L(FID, FromFile, SM, PP.getLangOpts());
540 Lexer L(FID, FromFile, SM, PP.getLangOpts());
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp337 if (!S.getLangOpts().CPlusPlus20) {
344 if (S.getLangOpts().CPlusPlus11) {
385 if (S.getLangOpts().CPlusPlus11)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.h54 const LangOptions &getLangOpts() const;

Completed in 327 milliseconds

1234567891011