summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-21 14:42:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-22 12:21:34 +0100
commit3656a57e885065db046d774e27d0834884744a3c (patch)
tree6ab8a5805b7b096bcc35f136eaef344e837b266d /compilerplugins
parentbcc8e86a1e2e4d7067c0d8320b4bdec9f1d2a2da (diff)
add mode lines to new files (and idls) since last run
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/bodynotinblock.cxx3
-rw-r--r--compilerplugins/clang/bodynotinblock.hxx3
-rw-r--r--compilerplugins/clang/checkconfigmacros.cxx3
-rw-r--r--compilerplugins/clang/plugin.cxx3
-rw-r--r--compilerplugins/clang/plugin.hxx3
-rw-r--r--compilerplugins/clang/pluginhandler.cxx3
-rw-r--r--compilerplugins/clang/pluginhandler.hxx3
-rw-r--r--compilerplugins/clang/pointertobool.cxx3
-rw-r--r--compilerplugins/clang/postfixincrementfix.cxx3
-rw-r--r--compilerplugins/clang/postfixincrementfix.hxx2
-rw-r--r--compilerplugins/clang/rtlconstasciimacro.cxx3
-rw-r--r--compilerplugins/clang/sallogareas.cxx3
-rw-r--r--compilerplugins/clang/sallogareas.hxx3
-rw-r--r--compilerplugins/clang/store/changefunctioncalls.cxx3
-rw-r--r--compilerplugins/clang/store/lclstaticfix.cxx3
-rw-r--r--compilerplugins/clang/store/lclstaticfix.hxx2
-rw-r--r--compilerplugins/clang/store/referencecasting.cxx3
-rw-r--r--compilerplugins/clang/store/referencecasting.hxx3
-rw-r--r--compilerplugins/clang/store/removeforwardstringdecl.cxx3
-rw-r--r--compilerplugins/clang/store/removeforwardstringdecl.hxx2
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial1.cxx3
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial1.hxx2
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial1_example.cxx3
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial2.cxx3
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial2.hxx2
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial2_example.cxx3
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial3.cxx3
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial3.hxx2
-rw-r--r--compilerplugins/clang/store/unusedcode.cxx3
-rw-r--r--compilerplugins/clang/store/valueof.cxx3
-rw-r--r--compilerplugins/clang/unusedvariablecheck.cxx3
-rw-r--r--compilerplugins/clang/unusedvariablecheck.hxx3
32 files changed, 90 insertions, 0 deletions
diff --git a/compilerplugins/clang/bodynotinblock.cxx b/compilerplugins/clang/bodynotinblock.cxx
index c4780ba129b8..af4dc28f11cc 100644
--- a/compilerplugins/clang/bodynotinblock.cxx
+++ b/compilerplugins/clang/bodynotinblock.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -142,3 +143,5 @@ void BodyNotInBlock::checkBody( const Stmt* body, SourceLocation stmtLocation, i
static Plugin::Registration< BodyNotInBlock > X( "bodynotinblock" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/bodynotinblock.hxx b/compilerplugins/clang/bodynotinblock.hxx
index 41eca7d7f5f5..5a91b9124ace 100644
--- a/compilerplugins/clang/bodynotinblock.hxx
+++ b/compilerplugins/clang/bodynotinblock.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -35,3 +36,5 @@ class BodyNotInBlock
} // namespace
#endif // BODYNOTINBLOCK_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/checkconfigmacros.cxx b/compilerplugins/clang/checkconfigmacros.cxx
index 91cb2a8e6913..43f723882a02 100644
--- a/compilerplugins/clang/checkconfigmacros.cxx
+++ b/compilerplugins/clang/checkconfigmacros.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -136,3 +137,5 @@ void CheckConfigMacros::checkMacro( const Token& macroToken, SourceLocation loca
static Plugin::Registration< CheckConfigMacros > X( "bodynotinblock" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx
index 064bfa5b91a7..e56664bd0f6b 100644
--- a/compilerplugins/clang/plugin.cxx
+++ b/compilerplugins/clang/plugin.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -295,3 +296,5 @@ bool RewritePlugin::reportEditFailure( SourceLocation loc )
}
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index 24a6c3b7a2f3..44939fbb828b 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -218,3 +219,5 @@ RewritePlugin::RewriteOption operator|( RewritePlugin::RewriteOption option1, Re
} // namespace
#endif // COMPILEPLUGIN_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/pluginhandler.cxx b/compilerplugins/clang/pluginhandler.cxx
index 5f4928eb9ad8..378e06d6d9d3 100644
--- a/compilerplugins/clang/pluginhandler.cxx
+++ b/compilerplugins/clang/pluginhandler.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -251,3 +252,5 @@ bool LibreOfficeAction::ParseArgs( const CompilerInstance&, const vector< string
static FrontendPluginRegistry::Add< loplugin::LibreOfficeAction > X( "loplugin", "LibreOffice compile check plugin" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/pluginhandler.hxx b/compilerplugins/clang/pluginhandler.hxx
index d042c553a704..ee53a1f837c3 100644
--- a/compilerplugins/clang/pluginhandler.hxx
+++ b/compilerplugins/clang/pluginhandler.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -55,3 +56,5 @@ class LibreOfficeAction
} // namespace
#endif // COMPILEPLUGIN_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/pointertobool.cxx b/compilerplugins/clang/pointertobool.cxx
index e0c69ff98099..809e50b5c132 100644
--- a/compilerplugins/clang/pointertobool.cxx
+++ b/compilerplugins/clang/pointertobool.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -162,3 +163,5 @@ bool PointerToBool::ignoreConversion( const Stmt* stmt )
static Plugin::Registration< PointerToBool > X( "pointertobool" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/postfixincrementfix.cxx b/compilerplugins/clang/postfixincrementfix.cxx
index ca636b9ffa10..a97b4a04039f 100644
--- a/compilerplugins/clang/postfixincrementfix.cxx
+++ b/compilerplugins/clang/postfixincrementfix.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -127,3 +128,5 @@ bool PostfixIncrementFix::shouldDoChange( const Expr* operand )
static Plugin::Registration< PostfixIncrementFix > X( "postfixincrementfix" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/postfixincrementfix.hxx b/compilerplugins/clang/postfixincrementfix.hxx
index e357f9941caa..27f4f154c41b 100644
--- a/compilerplugins/clang/postfixincrementfix.hxx
+++ b/compilerplugins/clang/postfixincrementfix.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -35,3 +36,4 @@ class PostfixIncrementFix
#endif // POSTFIXINCREMENTFIX_H
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/rtlconstasciimacro.cxx b/compilerplugins/clang/rtlconstasciimacro.cxx
index 1036897b1aed..0d7cc05824e3 100644
--- a/compilerplugins/clang/rtlconstasciimacro.cxx
+++ b/compilerplugins/clang/rtlconstasciimacro.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -149,3 +150,5 @@ bool RtlConstAsciiMacro::VisitStringLiteral( const StringLiteral* literal )
static Plugin::Registration< RtlConstAsciiMacro > X( "rtlconstasciimacro" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx
index 26b22a257c8c..c37a2326de33 100644
--- a/compilerplugins/clang/sallogareas.cxx
+++ b/compilerplugins/clang/sallogareas.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -135,3 +136,5 @@ void SalLogAreas::readLogAreas()
static Plugin::Registration< SalLogAreas > X( "sallogareas" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/sallogareas.hxx b/compilerplugins/clang/sallogareas.hxx
index e00086b27ae4..c00897c8c8f4 100644
--- a/compilerplugins/clang/sallogareas.hxx
+++ b/compilerplugins/clang/sallogareas.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -38,3 +39,5 @@ class SalLogAreas
} // namespace
#endif // SALLOGAREAS_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/changefunctioncalls.cxx b/compilerplugins/clang/store/changefunctioncalls.cxx
index 8d79d622056b..abc8ce62ceba 100644
--- a/compilerplugins/clang/store/changefunctioncalls.cxx
+++ b/compilerplugins/clang/store/changefunctioncalls.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -87,3 +88,5 @@ bool ChangeFunctionCalls::VisitCallExpr( const CallExpr* call )
static Plugin::Registration< ChangeFunctionCalls > X( "changefunctioncalls" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/lclstaticfix.cxx b/compilerplugins/clang/store/lclstaticfix.cxx
index 01dafd5fb1ac..81210bd5641f 100644
--- a/compilerplugins/clang/store/lclstaticfix.cxx
+++ b/compilerplugins/clang/store/lclstaticfix.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -49,3 +50,5 @@ bool LclStaticFix::VisitFunctionDecl( const FunctionDecl* declaration )
static Plugin::Registration< LclStaticFix > X( "lclstaticfix" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/lclstaticfix.hxx b/compilerplugins/clang/store/lclstaticfix.hxx
index 48e9c6699878..a42801f6f0d4 100644
--- a/compilerplugins/clang/store/lclstaticfix.hxx
+++ b/compilerplugins/clang/store/lclstaticfix.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -30,3 +31,4 @@ class LclStaticFix
#endif // POSTFIXINCREMENTFIX_H
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/referencecasting.cxx b/compilerplugins/clang/store/referencecasting.cxx
index c05c233cc337..c957367dc562 100644
--- a/compilerplugins/clang/store/referencecasting.cxx
+++ b/compilerplugins/clang/store/referencecasting.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -192,3 +193,5 @@ static const Type* extractTemplateType(Expr* cce)
static Plugin::Registration< ReferenceCasting > X( "referencecasting" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/referencecasting.hxx b/compilerplugins/clang/store/referencecasting.hxx
index 454d5ee823f0..eab7a7784b47 100644
--- a/compilerplugins/clang/store/referencecasting.hxx
+++ b/compilerplugins/clang/store/referencecasting.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -29,3 +30,5 @@ class ReferenceCasting
} // namespace
#endif // REFERENCECASTING_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/removeforwardstringdecl.cxx b/compilerplugins/clang/store/removeforwardstringdecl.cxx
index ac85e1cd3288..c70d7a8e2eb2 100644
--- a/compilerplugins/clang/store/removeforwardstringdecl.cxx
+++ b/compilerplugins/clang/store/removeforwardstringdecl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -73,3 +74,5 @@ bool RemoveForwardStringDecl::tryRemoveStringForwardDecl( const Decl* decl )
static Plugin::Registration< RemoveForwardStringDecl > X( "removeforwardstringdecl" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/removeforwardstringdecl.hxx b/compilerplugins/clang/store/removeforwardstringdecl.hxx
index 552aa4d4256e..d8e2e7ea5fb8 100644
--- a/compilerplugins/clang/store/removeforwardstringdecl.hxx
+++ b/compilerplugins/clang/store/removeforwardstringdecl.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -32,3 +33,4 @@ class RemoveForwardStringDecl
#endif // REMOVEFORWARDSTRINGDECL_H
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial1.cxx b/compilerplugins/clang/store/tutorial/tutorial1.cxx
index 09bdaec458b9..63158e895ebc 100644
--- a/compilerplugins/clang/store/tutorial/tutorial1.cxx
+++ b/compilerplugins/clang/store/tutorial/tutorial1.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -63,3 +64,5 @@ bool Tutorial1::VisitReturnStmt( const ReturnStmt* returnstmt )
static Plugin::Registration< Tutorial1 > X( "tutorial1" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial1.hxx b/compilerplugins/clang/store/tutorial/tutorial1.hxx
index bb5fe2e397f0..9eebd644273e 100644
--- a/compilerplugins/clang/store/tutorial/tutorial1.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial1.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -36,3 +37,4 @@ class Tutorial1
#endif // POSTFIXINCREMENTFIX_H
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial1_example.cxx b/compilerplugins/clang/store/tutorial/tutorial1_example.cxx
index ca45e95d17ec..1ec0e1e59aa0 100644
--- a/compilerplugins/clang/store/tutorial/tutorial1_example.cxx
+++ b/compilerplugins/clang/store/tutorial/tutorial1_example.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
// This is just an example file to see what AST looks like for return statements.
// To the AST, run :
// clang++ -fsyntax-only -Xclang -ast-dump tutorial1_example.cxx
@@ -16,3 +17,5 @@ bool h()
{
return 3 > 2;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial2.cxx b/compilerplugins/clang/store/tutorial/tutorial2.cxx
index 5d78ff26332b..c6bee6999982 100644
--- a/compilerplugins/clang/store/tutorial/tutorial2.cxx
+++ b/compilerplugins/clang/store/tutorial/tutorial2.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -90,3 +91,5 @@ bool Tutorial2::isReturnFalse( const Stmt* stmt )
static Plugin::Registration< Tutorial2 > X( "tutorial2" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial2.hxx b/compilerplugins/clang/store/tutorial/tutorial2.hxx
index 4fa62326f945..dde4da6e8229 100644
--- a/compilerplugins/clang/store/tutorial/tutorial2.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial2.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -35,3 +36,4 @@ class Tutorial2
#endif // POSTFIXINCREMENTFIX_H
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial2_example.cxx b/compilerplugins/clang/store/tutorial/tutorial2_example.cxx
index 0a24956cd400..7d72ff68ded9 100644
--- a/compilerplugins/clang/store/tutorial/tutorial2_example.cxx
+++ b/compilerplugins/clang/store/tutorial/tutorial2_example.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
// This is just an example file to see what AST looks like for return statements.
// To the AST, run :
// clang++ -fsyntax-only -Xclang -ast-dump tutorial1_example.cxx
@@ -13,3 +14,5 @@ bool g()
if( true )
return false;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial3.cxx b/compilerplugins/clang/store/tutorial/tutorial3.cxx
index b099f99888dc..e0a9e94ed877 100644
--- a/compilerplugins/clang/store/tutorial/tutorial3.cxx
+++ b/compilerplugins/clang/store/tutorial/tutorial3.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -72,3 +73,5 @@ void Tutorial3::modifyReturnFalse( const Stmt* stmt )
static Plugin::Registration< Tutorial3 > X( "tutorial3" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/tutorial/tutorial3.hxx b/compilerplugins/clang/store/tutorial/tutorial3.hxx
index b82f149a0fa7..27863b5d1cd3 100644
--- a/compilerplugins/clang/store/tutorial/tutorial3.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial3.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -37,3 +38,4 @@ class Tutorial3
#endif // POSTFIXINCREMENTFIX_H
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/unusedcode.cxx b/compilerplugins/clang/store/unusedcode.cxx
index ed5b2ea81c16..09fc71b3fcc5 100644
--- a/compilerplugins/clang/store/unusedcode.cxx
+++ b/compilerplugins/clang/store/unusedcode.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -73,3 +74,5 @@ bool UnusedCode::VisitFunctionDecl( const FunctionDecl* declaration )
static Plugin::Registration< UnusedCode > X( "unusedcode" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/store/valueof.cxx b/compilerplugins/clang/store/valueof.cxx
index 7f00ff676cb8..63dfa2f0c2bc 100644
--- a/compilerplugins/clang/store/valueof.cxx
+++ b/compilerplugins/clang/store/valueof.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -146,3 +147,5 @@ void ConvertValueOf::removeCast( const Expr* arg )
static Plugin::Registration< ConvertValueOf > X( "convertvalueof" );
} // namespace
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/unusedvariablecheck.cxx b/compilerplugins/clang/unusedvariablecheck.cxx
index 86f405db0f7c..cf16e6b21f12 100644
--- a/compilerplugins/clang/unusedvariablecheck.cxx
+++ b/compilerplugins/clang/unusedvariablecheck.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -110,3 +111,5 @@ static Plugin::Registration< UnusedVariableCheck > X( "unusedvariablecheck" );
} // namespace
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/unusedvariablecheck.hxx b/compilerplugins/clang/unusedvariablecheck.hxx
index 695971ebd005..cf0ca7dc4c12 100644
--- a/compilerplugins/clang/unusedvariablecheck.hxx
+++ b/compilerplugins/clang/unusedvariablecheck.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -29,3 +30,5 @@ class UnusedVariableCheck
} // namespace
#endif // UNUSEDVARIABLECHECK_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */