diff --git a/src/tcompiler.cpp b/src/tcompiler.cpp index f4e182d39..df8411ca7 100644 --- a/src/tcompiler.cpp +++ b/src/tcompiler.cpp @@ -2498,7 +2498,8 @@ struct FunctionEmitter { customfilename ? customlinenumber : obj->number("linenumber"), 0, scope)); #else - B->SetCurrentDebugLocation(DILocation::get(scope->getContext(), + B->SetCurrentDebugLocation(DILocation::get( + scope->getContext(), customfilename ? customlinenumber : obj->number("linenumber"), 0, scope)); #endif diff --git a/src/tcwrapper.cpp b/src/tcwrapper.cpp index 704db47f8..5f3271fc8 100644 --- a/src/tcwrapper.cpp +++ b/src/tcwrapper.cpp @@ -333,8 +333,8 @@ class IncludeCVisitor : public RecursiveASTVisitor { SourceLocation(), SourceLocation()); #else return CStyleCastExpr::Create(*Context, Ty, VK_RValue, Kind, E, 0, - FPOptionsOverride::getFromOpaqueInt(0), - TInfo, SourceLocation(), SourceLocation()); + FPOptionsOverride::getFromOpaqueInt(0), TInfo, + SourceLocation(), SourceLocation()); #endif } IntegerLiteral *LiteralZero() {