Searched refs:const_expr (Results 1 – 2 of 2) sorted by relevance
142 constexpr int const_expr = 0; // expected-warning {{'constexpr' specifier is incompatible with C++9… variable143 decltype(const_expr) decl_type = 0; // expected-warning {{'decltype' type specifier is incompatible…144 __decltype(const_expr) decl_type2 = 0; // ok
1922 ConstantExpr *const_expr = dyn_cast<ConstantExpr>(*ui); in ReplaceStrings() local1925 if (const_expr) in ReplaceStrings()1927 if (const_expr->getOpcode() != Instruction::GetElementPtr) in ReplaceStrings()1930 …ntf("Use (%s) of string variable is not a GetElementPtr constant", PrintValue(const_expr).c_str()); in ReplaceStrings()1935 …Constant *bit_cast = ConstantExpr::getBitCast(new_initializer, const_expr->getOperand(0)->getType(… in ReplaceStrings()1936 Constant *new_gep = const_expr->getWithOperandReplaced(0, bit_cast); in ReplaceStrings()1938 const_expr->replaceAllUsesWith(new_gep); in ReplaceStrings()1949 …f("Use (%s) of string variable is neither a constant nor a store", PrintValue(const_expr).c_str()); in ReplaceStrings()