clang  10.0.0svn
Namespaces | Functions
GuessTargetAndModeCompilationDatabase.cpp File Reference
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/Tooling.h"
#include <memory>
Include dependency graph for GuessTargetAndModeCompilationDatabase.cpp:

Go to the source code of this file.

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 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. More...