clang 20.0.0git
Namespaces | Functions
LocateToolCompilationDatabase.cpp File Reference
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include <memory>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::tooling
 

Functions

std::unique_ptr< CompilationDatabase > clang::tooling::inferToolLocation (std::unique_ptr< CompilationDatabase > Base)
 Returns a wrapped CompilationDatabase that will transform argv[0] to an absolute path, if it currently is a plain tool name, looking it up in PATH.