xref: /freebsd/contrib/llvm-project/clang/include/clang/Basic/MakeSupport.h (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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 
15 namespace clang {
16 
17 /// Quote target names for inclusion in GNU Make dependency files.
18 /// Only the characters '$', '#', ' ', '\t' are quoted.
19 void quoteMakeTarget(StringRef Target, SmallVectorImpl<char> &Res);
20 
21 } // namespace clang
22 
23 #endif // LLVM_CLANG_BASIC_MAKESUPPORT_H
24