From 26b52972a8ab15049e63a2518ff8e10d6288d074 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 15 Jul 2017 10:19:32 +0200 Subject: Fix typos Change-Id: I9d2c641b485c32ddccf0bfaaed1d0796572d1d33 Reviewed-on: https://gerrit.libreoffice.org/39477 Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- compilerplugins/clang/compat.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index 060bf4cf2317..990f0ac78c26 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -224,8 +224,8 @@ inline llvm::StringRef getImmediateMacroNameForDiagnostics( using namespace clang; // Verbatim copy from Clang's lib/Lex/Lexer.cpp: - assert(Loc.isMacroID() && "Only reasonble to call this on macros"); - // Walk past macro argument expanions. + assert(Loc.isMacroID() && "Only reasonable to call this on macros"); + // Walk past macro argument expansion. while (SM.isMacroArgExpansion(Loc)) Loc = SM.getImmediateExpansionRange(Loc).first; -- cgit