From 848fa0be8e28ef953c8a8b965951eeb191ba5da0 Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Fri, 11 Oct 2024 15:23:33 -0700 Subject: [PATCH] insert new lines --- Analysis/src/Differ.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Analysis/src/Differ.cpp b/Analysis/src/Differ.cpp index 899327a2..b5ca1fa9 100644 --- a/Analysis/src/Differ.cpp +++ b/Analysis/src/Differ.cpp @@ -944,14 +944,17 @@ std::vector>::const_reverse_iterator DifferEnvironment return visitingStack.crend(); } -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" + DifferResult diff(TypeId ty1, TypeId ty2) { + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt}; +#pragma GCC diagnostic pop + return diffUsingEnv(differEnv, ty1, ty2); } -#pragma GCC diagnostic pop DifferResult diffWithSymbols(TypeId ty1, TypeId ty2, std::optional symbol1, std::optional symbol2)