Searched refs:EVal (Results 1 – 5 of 5) sorted by relevance
/external/clang/test/Sema/ |
D | conditional-expr.c | 53 enum Enum { EVal }; in foo() enumerator 54 test0 = test0 ? EVal : test0; in foo() 55 test1 = test0 ? EVal : (int) test0; in foo() 57 (unsigned) EVal in foo() 60 …test0 = test0 ? EVal : test1; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in foo() 61 …test0 = test0 ? test1 : EVal; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in foo()
|
/external/clang/test/SemaCXX/ |
D | conditional-expr.cpp | 53 enum Enum { EVal }; enumerator 180 i1 = i1 ? i1 : EVal; in test() 181 i1 = i1 ? EVal : i1; in test() 217 test0 = test0 ? EVal : test0; in test() 218 test1 = test0 ? EVal : (int) test0; in test() 220 …test0 = test0 ? EVal : test1; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in test() 221 …test0 = test0 ? test1 : EVal; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in test() 223 test1 = test0 ? EVal : (int) test0; in test() 224 test1 = test0 ? (int) test0 : EVal; in test()
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 264 bool ParseExpression(const MCExpr *&EVal); 265 bool ParseDarwinExpression(const MCExpr *&EVal); 1433 ParseExpression(const MCExpr *&EVal) { in ParseExpression() argument 1436 return ParseDarwinExpression(EVal); in ParseExpression() 1440 if (getParser().parseExpression(EVal)) in ParseExpression() 1443 EVal = FixupVariantKind(EVal); in ParseExpression() 1446 const MCExpr *E = ExtractModifierFromExpr(EVal, Variant); in ParseExpression() 1448 EVal = PPCMCExpr::create(Variant, E, false, getParser().getContext()); in ParseExpression() 1460 ParseDarwinExpression(const MCExpr *&EVal) { in ParseDarwinExpression() argument 1488 if (getParser().parseExpression(EVal)) in ParseDarwinExpression() [all …]
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 80 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc); 788 const MCExpr *EVal; in parseSparcAsmOperand() local 827 if (matchSparcAsmModifiers(EVal, E)) { in parseSparcAsmOperand() 829 Op = SparcOperand::CreateImm(EVal, S, E); in parseSparcAsmOperand() 837 if (!getParser().parseExpression(EVal, E)) in parseSparcAsmOperand() 838 Op = SparcOperand::CreateImm(EVal, S, E); in parseSparcAsmOperand() 1161 bool SparcAsmParser::matchSparcAsmModifiers(const MCExpr *&EVal, in matchSparcAsmModifiers() argument 1184 EVal = adjustPICRelocation(VK, subExpr); in matchSparcAsmModifiers()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 14299 const auto &EVal = E->getInitVal(); in IsValueInFlagEnum() local 14301 if (EVal.isPowerOf2()) in IsValueInFlagEnum() 14302 FlagBits = FlagBits.zextOrSelf(EVal.getBitWidth()) | EVal; in IsValueInFlagEnum()
|