summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/indentation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/indentation.cxx')
-rw-r--r--compilerplugins/clang/indentation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/indentation.cxx b/compilerplugins/clang/indentation.cxx
index 6b4e39c9d483..04a9be6677d0 100644
--- a/compilerplugins/clang/indentation.cxx
+++ b/compilerplugins/clang/indentation.cxx
@@ -114,7 +114,7 @@ bool Indentation::VisitCompoundStmt(CompoundStmt const* compoundStmt)
// similar thing in forms/
if (macroName == "DECL_IFACE_PROP_IMPL" || macroName == "DECL_BOOL_PROP_IMPL")
continue;
-#if CLANG_VERSION >= 80000
+#if CLANG_VERSION >= 70000
stmtLoc = SM.getExpansionRange(stmtLoc).getBegin();
#else
stmtLoc = SM.getExpansionRange(stmtLoc).first;