Searched refs:getLangOpts (Results 1 - 25 of 267) sorted by relevance

1234567891011

/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp23 Context.getLangOpts());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp22 assert(getLangOpts().SYCLIsDevice &&
36 assert(getLangOpts().SYCLIsDevice &&
H A DSemaModule.cpp63 assert(getLangOpts().CPlusPlusModules && getLangOpts().ModulesTS &&
93 assert((getLangOpts().ModulesTS || getLangOpts().CPlusPlusModules) &&
99 switch (getLangOpts().getCompilingModule()) {
146 if (getLangOpts().CPlusPlusModules && !IsFirstDecl && !GlobalModuleFragment) {
170 if (!getLangOpts().CurrentModule.empty() &&
171 getLangOpts().CurrentModule != ModuleName) {
174 << getLangOpts().CurrentModule;
177 const_cast<LangOptions&>(getLangOpts())
[all...]
H A DSemaCUDA.cpp30 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
35 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
194 if ((getLangOpts().CUDAIsDevice && CalleeTarget == CFT_Device) ||
195 (!getLangOpts().CUDAIsDevice &&
588 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
598 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() ||
636 if (getLangOpts().CUDAIsDevice && VD->isConstexpr() &&
644 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
654 if (getLangOpts().CUDAIsDevice) {
672 assert(getLangOpts()
[all...]
H A DSemaDecl.cpp156 return getLangOpts().CPlusPlus;
159 return getLangOpts().Char8;
294 getLangOpts().CPlusPlus17 && !IsCtorOrDtorName &&
366 if (Result.empty() && getLangOpts().MSVCCompat && (!SS || SS->isEmpty())) {
397 !(getLangOpts().CPlusPlus && NewSSPtr &&
561 assert(getLangOpts().MSVCCompat && "shouldn't be called in non-MSVC mode");
697 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
727 if (getLangOpts().CPlusPlus && !IsTemplateName) {
758 if (getLangOpts().MSVCCompat && isMicrosoftMissingTypename(SS, S))
776 bool CheckTemplate = R.getSema().getLangOpts()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalyzerHelpFlags.cpp33 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(),
44 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(),
53 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(),
H A DCreateCheckerManager.cpp24 : Context(&Context), LangOpts(Context.getLangOpts()), AOptions(AOptions),
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp20 const LangOptions &LangOpts = PP.getLangOpts();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDataCollection.cpp21 Context.getLangOpts());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp51 if (PP.getLangOpts().isCompilingModule()) {
53 PP.getLangOpts().CurrentModule, /*AllowSearch*/ false);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp196 CInvok->getLangOpts()->ObjCAutoRefCount = true;
197 CInvok->getLangOpts()->setGC(LangOptions::NonGC);
212 CInvok->getLangOpts()->ObjCWeakRuntime = HasARCRuntime(origCI);
213 CInvok->getLangOpts()->ObjCWeak = CInvok->getLangOpts()->ObjCWeakRuntime;
228 printer.BeginSourceFile(PP.getLangOpts(), &PP);
242 if (!origCI.getLangOpts()->ObjC)
245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC();
285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
301 Ctx.getSourceManager(), Ctx.getLangOpts());
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp48 const LangOptions &LangOpts = PP.getLangOpts();
89 if (PP.getLangOpts().CPlusPlus11) {
102 if (PP.getLangOpts().CPlusPlus17)
106 if (PP.getLangOpts().CPlusPlus20)
231 if (!PP.getLangOpts().CPlusPlus11)
270 (PP.getLangOpts().CPlusPlus && FirstChar == '*');
289 (PP.getLangOpts().CPlusPlus && FirstChar == ':');
293 return PP.getLangOpts().CPlusPlus && FirstChar == '*';
295 return PP.getLangOpts().CPlusPlus20 && FirstChar == '>';
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp33 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) &&
122 if (CGF.getContext().getLangOpts().OpenCL) {
208 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
374 if (!getLangOpts().AppleKext && !TLS) {
385 if (!getLangOpts().Exceptions)
388 if (getLangOpts().Sanitize.has(SanitizerKind::Address) &&
392 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) &&
396 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) &&
400 if (getLangOpts()
[all...]
H A DSanitizerMetadata.cpp35 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
66 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
83 if (isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp146 CI.getLangOpts().CurrentModule, /*AllowSearch*/false);
242 new Lexer(MainFileID, MainFileBuf, SourceMgr, CI.getLangOpts()));
260 if (Lexer::getSpelling(LineNoLoc, Buffer, SourceMgr, CI.getLangOpts())
461 if (CI.getLangOpts().CurrentModule.empty()) {
473 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule,
477 << CI.getLangOpts().CurrentModule << ModuleMapFilename;
483 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(),
518 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule,
533 CI.getLangOpts(), M->IsExternC);
535 CI.getLangOpts(), FileMg
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp99 Lexer::isAtStartOfMacroExpansion(StartLoc, SM, PP.getLangOpts());
101 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts());
232 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts());
523 getTargetInfo(), getLangOpts())) {
667 assert(getLangOpts().DeclSpecKeyword && "__declspec keyword is not enabled");
830 if (!getLangOpts().ObjC)
1614 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) {
1721 return getLangOpts().CPlusPlus;
1725 getLangOpts().CPlusPlus11 && NextToken().is(tok::l_square);
1729 getLangOpts()
[all...]
H A DParser.cpp45 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland))
194 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) {
195 if (getLangOpts().CPlusPlus11)
219 if (II->isCPlusPlusKeyword(getLangOpts())) {
449 if (getLangOpts().ObjC) {
475 if (getLangOpts().AltiVec || getLangOpts().ZVector) {
479 if (getLangOpts().AltiVec)
499 if(getLangOpts()
[all...]
H A DParseInit.cpp37 if (!PP.getLangOpts().CPlusPlus11)
249 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) {
282 } else if (getLangOpts().ObjC && Tok.is(tok::identifier)) {
352 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) &&
398 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) {
445 if (!getLangOpts().CPlusPlus)
463 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) ||
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp95 getLangOpts());
97 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
H A DAnalysisManager.cpp41 Ctx(ASTCtx), PP(PP), LangOpts(ASTCtx.getLangOpts()),
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp60 const LangOptions &Context::getLangOpts() const { return Ctx.getLangOpts(); } function in class:Context
H A DContext.h58 const LangOptions &getLangOpts() const;
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp84 const LangOptions &LO = mgr.getLangOpts();
H A DSmartPtrChecker.cpp78 const LangOptions &LO = mgr.getLangOpts();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h99 Context.getLangOpts());

Completed in 560 milliseconds

1234567891011