Home
last modified time | relevance | path

Searched refs:TFS (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clangd/tool/
DCheck.cpp119 bool buildInvocation(const ThreadsafeFS &TFS, in buildInvocation() argument
124 Inputs.TFS = &TFS; in buildInvocation()
129 if (auto Contents = TFS.view(llvm::None)->getBufferForFile(File)) { in buildInvocation()
149 Style = getFormatStyleForFile(File, Inputs.Contents, TFS); in buildInvocation()
228 bool check(llvm::StringRef File, const ThreadsafeFS &TFS, in check() argument
247 if (!C.buildCommand() || !C.buildInvocation(TFS, Contents) || !C.buildAST()) in check()
DClangdMain.cpp57 bool check(const llvm::StringRef File, const ThreadsafeFS &TFS,
818 RealThreadsafeFS TFS; in main() local
823 config::Provider::fromAncestorRelativeYAMLFiles(".clangd", TFS)); in main()
829 config::Provider::fromYAMLFile(UserConfig, /*Directory=*/"", TFS)); in main()
846 Providers.push_back(provideClangTidyFiles(TFS)); in main()
877 return check(Path, TFS, Opts) in main()
911 ClangdLSPServer LSPServer(*TransportLayer, TFS, Opts); in main()
/external/llvm-project/clang-tools-extra/clangd/index/
DBackground.cpp95 const ThreadsafeFS &TFS, const GlobalCompilationDatabase &CDB, in BackgroundIndex() argument
97 : SwapIndex(std::make_unique<MemIndex>()), TFS(TFS), CDB(CDB), in BackgroundIndex()
256 auto FS = TFS.view(Cmd.Directory); in index()
271 Inputs.TFS = &TFS; in index()
397 auto FS = TFS.view(/*CWD=*/llvm::None); in loadProject()
DBackground.h194 const ThreadsafeFS &TFS; variable
/external/llvm-project/clang-tools-extra/clangd/
DClangdServer.cpp140 const ThreadsafeFS &TFS, const Options &Opts, in ClangdServer() argument
142 : ConfigProvider(Opts.ConfigProvider), TFS(TFS), ServerCallbacks(Callbacks), in ClangdServer()
191 TFS, CDB,
209 Inputs.TFS = &TFS; in addDocument()
257 ParseInputs ParseInput{IP->Command, &TFS, IP->Contents.str()}; in codeComplete()
303 ParseInputs ParseInput{IP->Command, &TFS, IP->Contents.str()}; in signatureHelp()
344 TFS.view(/*CWD=*/llvm::None).get()); in formatOnType()
414 *InpAST->Inputs.TFS); in rename()
520 getFormatStyleForFile(File, E.InitialCode, TFS); in applyTweak()
553 std::string(Path), TFS.view(llvm::None))) in switchSourceHeader()
[all …]
DTidyProvider.cpp36 get(const ThreadsafeFS &TFS, in get() argument
40 TFS, FreshTime, in get()
242 TidyProvider provideClangTidyFiles(ThreadsafeFS &TFS) { in provideClangTidyFiles() argument
243 return [Tree = std::make_unique<DotClangTidyTree>(TFS)]( in provideClangTidyFiles()
DConfigProvider.cpp36 void get(const ThreadsafeFS &TFS, DiagnosticCallback DC, in get() argument
40 TFS, FreshTime, in get()
DCompiler.h48 const ThreadsafeFS *TFS; member
DClangdServer.h172 ClangdServer(const GlobalCompilationDatabase &CDB, const ThreadsafeFS &TFS,
365 const ThreadsafeFS &TFS; variable
DClangdLSPServer.h62 ClangdLSPServer(Transport &Transp, const ThreadsafeFS &TFS,
268 const ThreadsafeFS &TFS; variable
DPreamble.cpp241 PI.TFS = &FS; in scanPreamble()
342 auto VFS = Inputs.TFS->view(Inputs.CompileCommand.Directory); in buildPreamble()
378 auto VFS = Inputs.TFS->view(Inputs.CompileCommand.Directory); in isPreambleCompatible()
DCompiler.cpp51 auto VFS = Inputs.TFS->view(Inputs.CompileCommand.Directory); in buildCompilerInvocation()
DSourceCode.h171 const ThreadsafeFS &TFS);
DParsedAST.cpp248 auto VFS = Inputs.TFS->view(Inputs.CompileCommand.Directory); in build()
356 auto Style = getFormatStyleForFile(Filename, Inputs.Contents, *Inputs.TFS); in build()
DCodeComplete.cpp1126 Input.ParseInput.TFS->view(Input.ParseInput.CompileCommand.Directory); in semaCodeComplete()
1304 *SemaCCInput.ParseInput.TFS); in run()
1376 const ThreadsafeFS &TFS) && { in runWithoutSema() argument
1392 auto Style = getFormatStyleForFile(FileName, Content, TFS); in runWithoutSema()
1817 *ParseInput.TFS) in codeComplete()
DClangdLSPServer.cpp517 Server.emplace(*CDB, TFS, Opts, in onInitialize()
1453 const ThreadsafeFS &TFS, in ClangdLSPServer() argument
1456 MsgHandler(new MessageHandler(*this)), TFS(TFS), in ClangdLSPServer()
DSourceCode.cpp575 const ThreadsafeFS &TFS) { in getFormatStyleForFile() argument
578 TFS.view(/*CWD=*/llvm::None).get()); in getFormatStyleForFile()
/external/llvm-project/clang-tools-extra/clangd/support/
DFileCache.cpp30 const ThreadsafeFS &TFS, std::chrono::steady_clock::time_point FreshTime, in read() argument
49 auto FS = TFS.view(/*CWD=*/llvm::None); in read()
DFileCache.h59 void read(const ThreadsafeFS &TFS,
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHeadersTests.cpp51 PI.TFS = &FS; in setupClang()
56 auto VFS = PI.TFS->view(Cmd->Directory); in setupClang()
DTestTU.cpp60 Inputs.TFS = &FS; in inputs()
DPreambleTests.cpp77 PI.TFS->view(PI.CompileCommand.Directory), Diags); in collectPatchedIncludes()
DParsedASTTests.cpp275 Inputs.TFS = &FS; in TEST()
/external/llvm-project/clang-tools-extra/clangd/index/remote/server/
DServer.cpp398 clang::clangd::RealThreadsafeFS TFS; in main() local
399 auto FS = TFS.view(llvm::None); in main()
/external/ms-tpm-20-ref/
D.gitignore96 # TFS 2012 Local Workspace

12