Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaOverload.cpp399 llvm::APSInt InitializerValue; in getNarrowingKind() local
401 if (!Initializer->isIntegerConstantExpr(InitializerValue, Ctx)) { in getNarrowingKind()
409 if (InitializerValue.isSigned() && InitializerValue.isNegative()) in getNarrowingKind()
414 InitializerValue = InitializerValue.extend( in getNarrowingKind()
415 InitializerValue.getBitWidth() + 1); in getNarrowingKind()
417 llvm::APSInt ConvertedValue = InitializerValue; in getNarrowingKind()
420 ConvertedValue = ConvertedValue.extend(InitializerValue.getBitWidth()); in getNarrowingKind()
421 ConvertedValue.setIsSigned(InitializerValue.isSigned()); in getNarrowingKind()
423 if (ConvertedValue != InitializerValue) in getNarrowingKind()
428 ConstantValue = APValue(InitializerValue); in getNarrowingKind()