llvm/clang-tools-extra/clang-tidy/modernize/RawStringLiteralCheck.cpp

//===--- RawStringLiteralCheck.cpp - clang-tidy----------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "RawStringLiteralCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"

usingnamespaceclang::ast_matchers;

namespace clang::tidy::modernize {

namespace {

bool containsEscapes(StringRef HayStack, StringRef Escapes) {}

bool isRawStringLiteral(StringRef Text) {}

bool containsEscapedCharacters(const MatchFinder::MatchResult &Result,
                               const StringLiteral *Literal,
                               const CharsBitSet &DisallowedChars) {}

bool containsDelimiter(StringRef Bytes, const std::string &Delimiter) {}

std::string asRawStringLiteral(const StringLiteral *Literal,
                               const std::string &DelimiterStem) {}

} // namespace

RawStringLiteralCheck::RawStringLiteralCheck(StringRef Name,
                                             ClangTidyContext *Context)
    :{}

void RawStringLiteralCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {}

void RawStringLiteralCheck::registerMatchers(MatchFinder *Finder) {}

void RawStringLiteralCheck::check(const MatchFinder::MatchResult &Result) {}

void RawStringLiteralCheck::replaceWithRawStringLiteral(
    const MatchFinder::MatchResult &Result, const StringLiteral *Literal,
    StringRef Replacement) {}

} // namespace clang::tidy::modernize