Home
last modified time | relevance | path

Searched refs:ExprStr (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp749 StringRef ExprStr = bufferize(SM, "FOO+BAR"); in TEST_F() local
750 StringRef FooStr = ExprStr.take_front(3); in TEST_F()
756 StringRef BarStr = ExprStr.take_back(3); in TEST_F()
763 BinaryOperation Binop(ExprStr, doAdd, std::move(FooVarUse), in TEST_F()
788 ExprStr = bufferize(SM, "FOO+18"); in TEST_F()
789 FooStr = ExprStr.take_front(3); in TEST_F()
790 StringRef EighteenStr = ExprStr.take_back(2); in TEST_F()
794 Binop = BinaryOperation(ExprStr, doAdd, std::move(FooVarUse), in TEST_F()
799 ExprStr = bufferize(SM, "18+FOO"); in TEST_F()
800 FooStr = ExprStr.take_back(3); in TEST_F()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DMakeSmartPtrCheck.cpp159 StringRef ExprStr = Lexer::getSourceText( in checkConstruct() local
179 size_t LAngle = ExprStr.find("<"); in checkConstruct()
184 ConstructCallEnd = ConstructCallStart.getLocWithOffset(ExprStr.size()); in checkConstruct()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp12131 llvm::StringRef ExprStr = in diagnoseXorMisusedAsPow() local
12181 << ExprStr << XorValue.toString(10, true) << ("1LL << " + RHSStr) in diagnoseXorMisusedAsPow()
12184 S.Diag(Loc, diag::warn_xor_used_as_pow) << ExprStr << XorValue.toString(10, true); in diagnoseXorMisusedAsPow()
12189 << ExprStr << XorValue.toString(10, true) << SuggestedExpr in diagnoseXorMisusedAsPow()
12199 << ExprStr << XorValue.toString(10, true) << SuggestedValue in diagnoseXorMisusedAsPow()