diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-07-15 10:19:32 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-07-17 19:15:00 +0200 |
commit | 26b52972a8ab15049e63a2518ff8e10d6288d074 (patch) | |
tree | 4365c65ec30fde0270a136ac0b66fe04e9c5d98f /compilerplugins | |
parent | e16304c46fddfb73e4aef85333d881ba5350b58d (diff) |
Fix typos
Change-Id: I9d2c641b485c32ddccf0bfaaed1d0796572d1d33
Reviewed-on: https://gerrit.libreoffice.org/39477
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/compat.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |