Fix long long error in findBuiltinType

This commit is contained in:
Baidyanath Kundu 2022-09-19 18:40:45 +02:00 committed by jenkins
parent 6dd621f4d3
commit 6cabc7a8f8

View File

@ -347,8 +347,8 @@ namespace cling {
return Context.LongTy; return Context.LongTy;
} }
if (typeName.equals("long long")) { if (typeName.equals("long long")) {
if (isunsigned) return Context.LongLongTy; if (isunsigned) return Context.UnsignedLongLongTy;
return Context.UnsignedLongLongTy; return Context.LongLongTy;
} }
if (!issigned && !isunsigned) { if (!issigned && !isunsigned) {
if (typeName.equals("bool")) return Context.BoolTy; if (typeName.equals("bool")) return Context.BoolTy;