Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaOverload.cpp391 llvm::APSInt InitializerValue; in getNarrowingKind() local
393 if (!Initializer->isIntegerConstantExpr(InitializerValue, Ctx)) { in getNarrowingKind()
401 if (InitializerValue.isSigned() && InitializerValue.isNegative()) in getNarrowingKind()
406 InitializerValue = InitializerValue.extend( in getNarrowingKind()
407 InitializerValue.getBitWidth() + 1); in getNarrowingKind()
409 llvm::APSInt ConvertedValue = InitializerValue; in getNarrowingKind()
412 ConvertedValue = ConvertedValue.extend(InitializerValue.getBitWidth()); in getNarrowingKind()
413 ConvertedValue.setIsSigned(InitializerValue.isSigned()); in getNarrowingKind()
415 if (ConvertedValue != InitializerValue) in getNarrowingKind()
420 ConstantValue = APValue(InitializerValue); in getNarrowingKind()