//===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements a POSIX regular expression matcher. Both Basic and // Extended POSIX regular expressions (ERE) are supported. EREs were extended // to support backreferences in matches. // This implementation also supports matching strings with embedded NUL chars. // //===----------------------------------------------------------------------===// #ifndef LLVM_SUPPORT_REGEX_H #define LLVM_SUPPORT_REGEX_H #include "llvm/ADT/BitmaskEnum.h" #include <string> struct llvm_regex; namespace llvm { class StringRef; template<typename T> class SmallVectorImpl; class Regex { … }; } #endif // LLVM_SUPPORT_REGEX_H