Home
last modified time | relevance | path

Searched refs:ValueInt (Results 1 – 4 of 4) sorted by relevance

/external/clang/test/SemaCXX/
Dnew-array-size-conv.cpp3 struct ValueInt struct
5 ValueInt(int v = 0) : ValueLength(v) {} in ValueInt() argument
16 struct ValueBoth : ValueInt, ValueEnum { }; argument
18 struct IndirectValueInt : ValueInt { };
19 struct TwoValueInts : ValueInt, IndirectValueInt { };
22 …(void)new int[ValueInt(10)]; // expected-warning{{implicit conversion from array size expression o… in test()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp74 int ValueInt; in handleLoopHintAttr() local
82 ValueInt = 0; in handleLoopHintAttr()
84 ValueInt = 1; in handleLoopHintAttr()
96 (ValueInt = ValueAPS.getSExtValue()) < 1) { in handleLoopHintAttr()
103 return LoopHintAttr::CreateImplicit(S.Context, Option, ValueInt, in handleLoopHintAttr()
137 int ValueInt = LH->getValue(); in CheckForIncompatibleAttributes() local
166 << LoopHintAttr::getValueName(ValueInt); in CheckForIncompatibleAttributes()
169 CategoryState.Enabled = ValueInt; in CheckForIncompatibleAttributes()
177 << ValueInt; in CheckForIncompatibleAttributes()
180 CategoryState.Value = ValueInt; in CheckForIncompatibleAttributes()
/external/chromium_org/tools/gn/
Dinput_conversion_unittest.cc81 TEST_F(InputConversionTest, ValueInt) { in TEST_F() argument
/external/clang/lib/CodeGen/
DCGStmt.cpp562 int ValueInt = LH->getValue(); in EmitCondBrHints() local
587 if (ValueInt == 1) { in EmitCondBrHints()
595 ValueInt = 1; in EmitCondBrHints()
600 Value = llvm::ConstantInt::get(Int32Ty, ValueInt); in EmitCondBrHints()
604 Value = (ValueInt == 0) ? Builder.getFalse() : Builder.getTrue(); in EmitCondBrHints()
608 Value = llvm::ConstantInt::get(Int32Ty, ValueInt); in EmitCondBrHints()