clang-tools 20.0.0git
Namespaces | Functions
RawStringLiteralCheck.cpp File Reference
#include "RawStringLiteralCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringRef.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::tidy
 
namespace  clang::tidy::modernize
 

Functions

static std::optional< StringRef > clang::tidy::modernize::createUserDefinedSuffix (const StringLiteral *Literal, const SourceManager &SM, const LangOptions &LangOpts)
 
static std::string clang::tidy::modernize::createRawStringLiteral (const StringLiteral *Literal, const std::string &DelimiterStem, const SourceManager &SM, const LangOptions &LangOpts)
 
static bool clang::tidy::modernize::compareStringLength (StringRef Replacement, const StringLiteral *Literal, const SourceManager &SM, const LangOptions &LangOpts)