|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp 45 if (!Instance.getLangOpts().DelayedTemplateParsing)
tools/clang/lib/CodeGen/CodeGenAction.cpp 937 CI.getLangOpts(), CI.getFrontendOpts().ShowTimers, InFile,
1081 CI.getCodeGenOpts(), TargetOpts, CI.getLangOpts(),
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp 145 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()),
tools/clang/lib/Frontend/ASTUnit.cpp 1150 Clang->getTarget().adjust(Clang->getLangOpts());
1583 Clang->getTarget().adjust(Clang->getLangOpts());
2209 Clang->getTarget().adjust(Clang->getLangOpts());
2283 if (!Clang->getLangOpts().Modules)
tools/clang/lib/Frontend/ChainedIncludesSource.cpp 155 Clang->getDiagnosticClient().BeginSourceFile(Clang->getLangOpts(),
tools/clang/lib/Frontend/CompilerInstance.cpp 388 getDiagnostics(), getLangOpts(), &getTarget());
390 getDiagnostics(), getLangOpts(),
394 getTarget().adjust(getLangOpts());
484 auto *Context = new ASTContext(getLangOpts(), PP.getSourceManager(),
921 if ((getLangOpts().CUDA || getLangOpts().OpenMPIsDevice) &&
921 if ((getLangOpts().CUDA || getLangOpts().OpenMPIsDevice) &&
933 getTarget().adjust(getLangOpts());
988 if (getLangOpts().CUDA) {
989 if (!getLangOpts().CUDAIsDevice) {
1189 InputKind IK(getLanguageFromOptions(ImportingInstance.getLangOpts()),
1632 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule)
1646 } else if (ModuleName == getLangOpts().CurrentModule) {
1945 if (ModuleName != getLangOpts().CurrentModule) {
1961 if (Preprocessor::checkModuleIsAvailable(getLangOpts(), getTarget(),
tools/clang/lib/Frontend/FrontendAction.cpp 145 CI.getLangOpts().CurrentModule, /*AllowSearch*/false);
243 new Lexer(MainFileID, MainFileBuf, SourceMgr, CI.getLangOpts()));
261 if (Lexer::getSpelling(LineNoLoc, Buffer, SourceMgr, CI.getLangOpts())
449 if (CI.getLangOpts().CurrentModule.empty()) {
461 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule,
465 << CI.getLangOpts().CurrentModule << ModuleMapFilename;
471 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(),
506 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule,
521 CI.getLangOpts(), M->IsExternC);
523 CI.getLangOpts(), FileMgr, CI.getDiagnostics(),
575 CI.getLangOpts() = AST->getLangOpts();
639 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr);
692 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr);
725 CI.getLangOpts(), CI.getTargetOpts(), CI.getPreprocessorOpts(),
746 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(),
757 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleMap);
840 } else if (CI.getLangOpts().Modules ||
871 if (CI.getLangOpts().Modules || !CI.hasASTContext() ||
886 if (CI.getLangOpts().Modules || !CI.hasASTContext() ||
894 assert((!CI.getLangOpts().Modules || CI.getModuleManager()) &&
922 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None);
1012 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None);
tools/clang/lib/Frontend/FrontendActions.cpp 116 FrontendOpts.IncludeTimestamps, +CI.getLangOpts().CacheGeneratedPCH));
158 CI.getLangOpts().CompilingPCH = true;
190 if (!CI.getLangOpts().Modules) {
210 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule,
225 if (!CI.getLangOpts().ModulesTS && !CI.getLangOpts().CPlusPlusModules) {
225 if (!CI.getLangOpts().ModulesTS && !CI.getLangOpts().CPlusPlusModules) {
230 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleInterface);
243 if (!CI.getLangOpts().Modules) {
283 CI.getLangOpts().setCompilingModule(LangOptions::CMK_HeaderModule);
300 HS.getModuleMap().createHeaderModule(CI.getLangOpts().CurrentModule, Headers);
867 Lexer::ComputePreamble((*Buffer)->getBuffer(), CI.getLangOpts()).Size;
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 63 !Instance.getLangOpts().GNUInline)
239 if (Instance.getLangOpts().DelayedTemplateParsing) {
267 << (Symbol.ParentName.empty() || Instance.getLangOpts().CPlusPlus
tools/clang/lib/Frontend/PrecompiledPreamble.cpp 300 Clang->getTarget().adjust(Clang->getLangOpts());
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp 106 CI.getLangOpts(), FixItOpts.get()));
132 CI.getLangOpts(), FixItOpts.get());
167 if (CI.getLangOpts().ObjCRuntime.isNonFragile())
169 InFile, std::move(OS), CI.getDiagnostics(), CI.getLangOpts(),
173 CI.getLangOpts(),
tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp 251 Clang->getLangOpts());
262 Clang->getLangOpts());
272 Clang->getLangOpts());
tools/clang/tools/clang-check/ClangCheck.cpp 129 CI.getLangOpts(), FixItOpts.get()));
tools/clang/tools/clang-import-test/clang-import-test.cpp 206 Ins->getTarget().adjust(Ins->getLangOpts());
217 CI.getLangOpts(), CI.getSourceManager(),
322 CI.getCompilerInstance().getLangOpts(),
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp 229 Lexer::getSourceText(Range, CI->getSourceManager(), CI->getLangOpts());
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp 63 LangOpts(Compiler.getLangOpts()) {
tools/clang/tools/extra/clangd/ParsedAST.cpp 126 Clang.getSourceManager(), PP, Clang.getLangOpts())));
350 Clang->getLangOpts(), Macros));
358 CanonIncludes.addSystemHeadersMapping(Clang->getLangOpts());
tools/clang/tools/extra/clangd/Preamble.cpp 46 CanonIncludes.addSystemHeadersMapping(CI.getLangOpts());
47 LangOpts = &CI.getLangOpts();
tools/clang/tools/extra/clangd/index/IndexAction.cpp 144 Includes->addSystemHeadersMapping(CI.getLangOpts());
162 CI.getLangOpts().CommentOpts.ParseAllComments = true;
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp 222 CI.getLangOpts().CommentOpts.ParseAllComments = true;
tools/clang/unittests/CodeGen/BufferSourceTest.cpp 45 compiler.getLangOpts().CPlusPlus = 1;
46 compiler.getLangOpts().CPlusPlus11 = 1;
tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp 264 compiler.getLangOpts().CPlusPlus = 1;
265 compiler.getLangOpts().CPlusPlus11 = 1;
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp 115 compiler.getLangOpts().CPlusPlus = 1;
116 compiler.getLangOpts().CPlusPlus11 = 1;
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp 133 Compiler.compiler.getLangOpts().C11 = 1;
229 Compiler.compiler.getLangOpts().C11 = 1;
350 Compiler.compiler.getLangOpts().C11 = 1;
442 Compiler.compiler.getLangOpts().C11 = 1;
535 Compiler.compiler.getLangOpts().C11 = 1;
636 Compiler.compiler.getLangOpts().CPlusPlus = 1;
637 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
758 Compiler.compiler.getLangOpts().CPlusPlus = 1;
759 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
858 Compiler.compiler.getLangOpts().CPlusPlus = 1;
859 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
939 Compiler.compiler.getLangOpts().CPlusPlus = 1;
940 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
1017 Compiler.compiler.getLangOpts().CPlusPlus = 1;
1018 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
1095 Compiler.compiler.getLangOpts().CPlusPlus = 1;
1096 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
1171 Compiler.compiler.getLangOpts().CPlusPlus = 1;
1172 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
1256 Compiler.compiler.getLangOpts().CPlusPlus = 1;
1257 Compiler.compiler.getLangOpts().CPlusPlus11 = 1;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 431 LangOptions &lang_opts = m_compiler->getLangOpts();
569 m_compiler->getTarget().adjust(m_compiler->getLangOpts());
602 m_compiler->getLangOpts());
864 CodeComplete CC(request, m_compiler->getLangOpts(), llvm_expr->GetUserText(),
940 diag_buf->BeginSourceFile(m_compiler->getLangOpts(),
1081 clang::edit::EditedSource editor(source_manager, m_compiler->getLangOpts(),
1084 clang::Rewriter rewriter(source_manager, m_compiler->getLangOpts());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp 699 instance->getTarget().adjust(instance->getLangOpts());
tools/lldb/tools/lldb-instr/Instrument.cpp 337 MyRewriter.setSourceMgr(CI.getSourceManager(), CI.getLangOpts());