Home
last modified time | relevance | path

Searched refs:isLiteral (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h116 bool isLiteral() const { in isLiteral() function
117 return tok::isLiteral(getKind()); in isLiteral()
192 if (isLiteral()) return nullptr; in getIdentifierInfo()
226 assert(isLiteral() && "Cannot get literal data of non-literal"); in getLiteralData()
230 assert(isLiteral() && "Cannot set literal data of non-literal"); in setLiteralData()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitCodes.h54 bool isLiteral() const { return IsLiteral; } in isLiteral() function
58 uint64_t getLiteralValue() const { assert(isLiteral()); return Val; } in getLiteralValue()
H A DBitstreamWriter.h422 assert(Op.isLiteral() && "Not a literal"); in EmitAbbreviatedLiteral()
433 assert(!Op.isLiteral() && "Literals should use EmitAbbreviatedLiteral!"); in EmitAbbreviatedField()
474 if (Op.isLiteral()) in EmitRecordWithAbbrevImpl()
487 if (Op.isLiteral()) { in EmitRecordWithAbbrevImpl()
638 Emit(Op.isLiteral(), 1); in EncodeAbbrev()
639 if (Op.isLiteral()) { in EncodeAbbrev()
/freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp73 assert(!Op.isLiteral() && "Not to be used with literals!"); in readAbbreviatedField()
122 if (CodeOp.isLiteral()) in skipRecord()
138 if (Op.isLiteral()) in skipRecord()
249 if (CodeOp.isLiteral()) in readRecord()
263 if (Op.isLiteral()) { in readRecord()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.h97 inline bool isLiteral(TokenKind K) { in isLiteral() function
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp178 if (F.isLiteral(true)) in flowConditionImplies()
195 if (F.isLiteral(false)) in flowConditionAllows()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMetaRenamer.cpp202 if (STy->isLiteral() || Name.empty() || in MetaRename()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp134 if (!T.isLiteral() || !T.getLiteralData()) in tryExpandAsInteger()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp66 else if (tok::isLiteral(token.getKind())) in determineClangStyle()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroInfo.cpp189 else if (Tok.isLiteral() && Tok.getLiteralData()) in dump()
H A DTokenConcatenation.cpp133 if (Tok.isLiteral() && Tok.getLiteralData()) { in GetFirstChar()
H A DTokenLexer.cpp617 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp190 } else if (Tok.isLiteral() && !Tok.needsCleaning() && Tok.getLiteralData()) { in dumpTokenInto()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp95 if (STy->isLiteral() || STy->getName().empty()) continue; in StripTypeNames()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp185 if (DSTy->isLiteral() != SSTy->isLiteral() || in areTypesIsomorphic()
254 bool IsUniqued = !isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral(); in get()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.cpp159 if (Previous.Previous->Tok.isLiteral()) in parseAngle()
231 if (Next && Next->Tok.isLiteral()) in parseAngle()
2359 Current.Previous->Tok.isLiteral()) { in determineTokenType()
2782 (AfterRParen->Tok.isLiteral() && in rParenEndsCast()
3013 if (PrevToken->Tok.isLiteral() || in determineStarAmpUsage()
3022 if (NextNonParen && (NextNonParen->Tok.isLiteral() || in determineStarAmpUsage()
3833 if (Tok->isOneOf(tok::l_brace, TT_ObjCMethodExpr) || Tok->Tok.isLiteral()) in isFunctionDeclarationName()
4489 return Left.Tok.isLiteral() || (Left.is(tok::identifier) && BeforeLeft && in spaceRequiredBetween()
4512 if (Left.Tok.isLiteral()) in spaceRequiredBetween()
4542 if (Right.Tok.isLiteral()) in spaceRequiredBetween()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1193 } else if (tok::isLiteral(T.getKind())) { in highlightLines()
1210 !tok::isLiteral(T.getKind())) in highlightLines()
H A DPrintPreprocessedOutput.cpp991 } else if (Tok.isLiteral() && !Tok.needsCleaning() && in PrintPreprocessedTokens()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h282 bool isLiteral() const { return (getSubclassData() & SCDB_IsLiteral) != 0; } in isLiteral() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp578 if (ti->isLiteral()) { in ForEachMacro()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp591 assert(!isLiteral() && "Literal structs never have names"); in getName()
H A DFunction.cpp1008 if (!STyp->isLiteral()) { in getMangledTypeStr()
1610 if (!ST || !ST->isLiteral() || ST->isPacked() || in matchIntrinsicType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp299 bool IsUniqued = !TyAsStruct || TyAsStruct->isLiteral(); in remapTypeImpl()
384 if (!ST->isLiteral() || ST->getNumElements() != 2) in isSplitFatPtr()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp937 if (!STy->isLiteral()) in EnumerateType()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp969 if (!STy->isLiteral()) in EnumerateType()

12