Silenced a VC++ warning.
Updated VC++ project files. llvm-svn: 42015
This commit is contained in:
parent
93c7f855e5
commit
af2584fbaf
|
|
@ -368,7 +368,8 @@ bool Expr::isConstantExpr(ASTContext &Ctx, SourceLocation *Loc) const {
|
||||||
case CallExprClass: {
|
case CallExprClass: {
|
||||||
const CallExpr *CE = cast<CallExpr>(this);
|
const CallExpr *CE = cast<CallExpr>(this);
|
||||||
llvm::APSInt Result(32);
|
llvm::APSInt Result(32);
|
||||||
Result.zextOrTrunc(Ctx.getTypeSize(getType(), CE->getLocStart()));
|
Result.zextOrTrunc(
|
||||||
|
static_cast<uint32_t>(Ctx.getTypeSize(getType(), CE->getLocStart())));
|
||||||
if (CE->isBuiltinClassifyType(Result))
|
if (CE->isBuiltinClassifyType(Result))
|
||||||
break;
|
break;
|
||||||
if (Loc) *Loc = getLocStart();
|
if (Loc) *Loc = getLocStart();
|
||||||
|
|
|
||||||
|
|
@ -197,10 +197,6 @@
|
||||||
RelativePath="..\..\Driver\DiagChecker.cpp"
|
RelativePath="..\..\Driver\DiagChecker.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="..\..\Driver\LLVMCodegen.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\Driver\PrintParserCallbacks.cpp"
|
RelativePath="..\..\Driver\PrintParserCallbacks.cpp"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue