forked from OSchip/llvm-project
Fix MSVC build by renaming a variable. PR5043
llvm-svn: 82762
This commit is contained in:
parent
25a3967ebb
commit
07fec3bbf5
|
@ -1103,8 +1103,8 @@ QualType ASTContext::getNoReturnType(QualType T) {
|
|||
assert (T->isFunctionType()
|
||||
&& "can't noreturn qualify non-pointer to function or block type");
|
||||
|
||||
if (const FunctionNoProtoType *F = T->getAs<FunctionNoProtoType>()) {
|
||||
ResultType = getFunctionNoProtoType(F->getResultType(), true);
|
||||
if (const FunctionNoProtoType *FNPT = T->getAs<FunctionNoProtoType>()) {
|
||||
ResultType = getFunctionNoProtoType(FNPT->getResultType(), true);
|
||||
} else {
|
||||
const FunctionProtoType *F = T->getAs<FunctionProtoType>();
|
||||
ResultType
|
||||
|
|
Loading…
Reference in New Issue