clang 24.0.0git
MakeSupport.h File Reference
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.

Enumerations

enum class  clang::DependencyOutputFormat { clang::Make , clang::NMake }
 DependencyOutputFormat - Format for the compiler dependency file. More...

Functions

void clang::quoteMakeTarget (StringRef Target, SmallVectorImpl< char > &Res)
 Quote target names for inclusion in GNU Make dependency files.
void clang::printMakeDependencyFile (llvm::raw_ostream &OS, llvm::ArrayRef< std::string > Targets, llvm::ArrayRef< std::string > Files, DependencyOutputFormat Format=DependencyOutputFormat::Make, bool PhonyTargets=false, unsigned InputFileIndex=0)
 Write Make-style dependency output to the output stream, in the form: target1 target2 ...: prereq1 prereq2 ...