clang 20.0.0git
Namespaces | Functions
GuessTargetAndModeCompilationDatabase.cpp File Reference
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/Tooling.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::inferTargetAndDriverMode (std::unique_ptr< CompilationDatabase > Base)
 Returns a wrapped CompilationDatabase that will add -target and -mode flags to commandline when they can be deduced from argv[0] of commandline returned by underlying database.