clang 19.0.0git
Classes | Namespaces | Enumerations | Functions
LiteralSupport.h File Reference
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"

Go to the source code of this file.

Classes

class  clang::NumericLiteralParser
 NumericLiteralParser - This performs strict semantic analysis of the content of a ppnumber, classifying it as either integer, floating, or erroneous, determines the radix of the value and can convert it to a useful value. More...
 
class  clang::CharLiteralParser
 CharLiteralParser - Perform interpretation and semantic analysis of a character literal. More...
 
class  clang::StringLiteralParser
 StringLiteralParser - This decodes string escape characters and performs wide string analysis and Translation Phase #6 (concatenation of string literals) (C99 5.1.1.2p1). More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Enumerations

enum class  clang::StringLiteralEvalMethod { clang::Evaluated , clang::Unevaluated }
 

Functions

void clang::expandUCNs (SmallVectorImpl< char > &Buf, StringRef Input)
 Copy characters from Input to Buf, expanding any UCNs.
 
bool clang::isFunctionLocalStringLiteralMacro (tok::TokenKind K, const LangOptions &LO)
 Return true if the token corresponds to a function local predefined macro, which expands to a string literal, that can be concatenated with other string literals (only in Microsoft mode).
 
bool clang::tokenIsLikeStringLiteral (const Token &Tok, const LangOptions &LO)
 Return true if the token is a string literal, or a function local predefined macro, which expands to a string literal.