summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:46:36 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:00:18 +0000
commitce343470c385dc8390bbc4bf3e85457c1d55e0ec (patch)
tree79ec49cc25fbc427b668bc56314a082551f1a263 /compilerplugins
parent9e4c87be31732ed076a059128d2e20451697d225 (diff)
Fix typos
Change-Id: Iaff7e38dd5beac48e1643e369e4240aa736c35ea Reviewed-on: https://gerrit.libreoffice.org/18941 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/bodynotinblock.cxx2
-rw-r--r--compilerplugins/clang/simplifybool.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/bodynotinblock.cxx b/compilerplugins/clang/bodynotinblock.cxx
index 210aa36e051a..ca4f904992c8 100644
--- a/compilerplugins/clang/bodynotinblock.cxx
+++ b/compilerplugins/clang/bodynotinblock.cxx
@@ -78,7 +78,7 @@ void BodyNotInBlock::checkBody( const Stmt* body, SourceLocation stmtLocation, i
return;
// TODO: If the if/else/while/for comes from a macro expansion, ignore it completely for
// now. The code below could assume everything is in the same place (and thus also column)
- // and give a false warning. Moreover some macros are rather lousily written and would
+ // and give a false warning. Moreover some macros are rather loosely written and would
// result in poor formatting. To be evaluated later, maybe this could be handled
// including macro expansion.
if( stmtLocation.isMacroID())
diff --git a/compilerplugins/clang/simplifybool.cxx b/compilerplugins/clang/simplifybool.cxx
index 9f82660dd29f..d70751fb54eb 100644
--- a/compilerplugins/clang/simplifybool.cxx
+++ b/compilerplugins/clang/simplifybool.cxx
@@ -33,7 +33,7 @@ enum class Value { Unknown, False, True };
Value getValue(Expr const * expr) {
expr = ignoreParenImpCastAndComma(expr);
if (expr->getType()->isBooleanType()) {
- // Instead going via Expr::isCXX11ConstantExpr would turn up excatly one
+ // Instead going via Expr::isCXX11ConstantExpr would turn up exactly one
// additional place in svx/source/dialog/framelinkarray.cxx
//
// const bool DIAG_DBL_CLIP_DEFAULT = false;