clang 17.0.0git
MakeSupport.h
Go to the documentation of this file.
1//===- MakeSupport.h - Make Utilities ---------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_CLANG_BASIC_MAKESUPPORT_H
10#define LLVM_CLANG_BASIC_MAKESUPPORT_H
11
12#include "clang/Basic/LLVM.h"
13#include "llvm/ADT/StringRef.h"
14
15namespace clang {
16
17/// Quote target names for inclusion in GNU Make dependency files.
18/// Only the characters '$', '#', ' ', '\t' are quoted.
19void quoteMakeTarget(StringRef Target, SmallVectorImpl<char> &Res);
20
21} // namespace clang
22
23#endif // LLVM_CLANG_BASIC_MAKESUPPORT_H
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
void quoteMakeTarget(StringRef Target, SmallVectorImpl< char > &Res)
Quote target names for inclusion in GNU Make dependency files.
Definition: MakeSupport.cpp:11