Home
last modified time | relevance | path

Searched refs:EnumVal (Results 1 – 7 of 7) sorted by relevance

/external/clang/test/Index/
Dindex-refs.cpp8 EnumVal = 1 enumerator
11 NS::MyInt NS::gx = EnumVal;
18 SecondVal = EnumVal
/external/clang/test/Sema/
Ddllimport.c11 enum __declspec(dllimport) Enum { EnumVal }; // expected-warning{{'dllimport' attribute only applie… enumerator
Ddllexport.c11 enum __declspec(dllexport) Enum { EnumVal }; // expected-warning{{'dllexport' attribute only applie… enumerator
/external/llvm/utils/TableGen/
DInstrInfoEmitter.cpp322 unsigned EnumVal = 0; in emitOperandTypesEnum() local
325 OS << " " << Op->getName() << " = " << EnumVal << ",\n"; in emitOperandTypesEnum()
326 ++EnumVal; in emitOperandTypesEnum()
/external/clang/lib/Sema/
DSemaDecl.cpp12686 llvm::APSInt EnumVal(IntWidth); in CheckEnumConstant() local
12707 CheckConvertedConstantExpression(Val, EltTy, EnumVal, in CheckEnumConstant()
12715 &EnumVal).get())) { in CheckEnumConstant()
12725 if (!isRepresentableIntegerValue(Context, EnumVal, EltTy)) { in CheckEnumConstant()
12747 if (!isRepresentableIntegerValue(Context, EnumVal, Context.IntTy)) in CheckEnumConstant()
12749 << EnumVal.toString(10) << Val->getSourceRange() in CheckEnumConstant()
12750 << (EnumVal.isUnsigned() || EnumVal.isNonNegative()); in CheckEnumConstant()
12781 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
12782 ++EnumVal; in CheckEnumConstant()
12786 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()
[all …]
/external/clang/lib/ARCMigrate/
DObjCMT.cpp674 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro() local
675 if (PowerOfTwo && EnumVal) { in UseNSOptionsMacro()
676 if (!llvm::isPowerOf2_64(EnumVal)) in UseNSOptionsMacro()
678 else if (EnumVal > MaxPowerOfTwoVal) in UseNSOptionsMacro()
679 MaxPowerOfTwoVal = EnumVal; in UseNSOptionsMacro()
681 if (AllHexdecimalEnumerator && EnumVal) { in UseNSOptionsMacro()
/external/llvm/include/llvm/Support/
DCommandLine.h501 DataType EnumVal = static_cast<DataType>(va_arg(ValueArgs, int));
504 std::make_pair(EnumVal, EnumDesc)));