зеркало из https://github.com/microsoft/clang-1.git
Silenced a VC++ warning.
Updated VC++ project files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
4b1aa816bb
Коммит
86fd355dfc
|
@ -368,7 +368,8 @@ bool Expr::isConstantExpr(ASTContext &Ctx, SourceLocation *Loc) const {
|
|||
case CallExprClass: {
|
||||
const CallExpr *CE = cast<CallExpr>(this);
|
||||
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))
|
||||
break;
|
||||
if (Loc) *Loc = getLocStart();
|
||||
|
|
|
@ -197,10 +197,6 @@
|
|||
RelativePath="..\..\Driver\DiagChecker.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\Driver\LLVMCodegen.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\Driver\PrintParserCallbacks.cpp"
|
||||
>
|
||||
|
|
Загрузка…
Ссылка в новой задаче