clang 20.0.0git
MatchFilePath.h
Go to the documentation of this file.
1//===--- MatchFilePath.h ----------------------------------------*- 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_LIB_FORMAT_MATCHFILEPATH_H
10#define LLVM_CLANG_LIB_FORMAT_MATCHFILEPATH_H
11
12#include "llvm/ADT/StringRef.h"
13
14namespace clang {
15namespace format {
16
17bool matchFilePath(llvm::StringRef Pattern, llvm::StringRef FilePath);
18
19} // end namespace format
20} // end namespace clang
21
22#endif
bool matchFilePath(StringRef Pattern, StringRef FilePath)
The JSON file list parser is used to communicate input to InstallAPI.