tdf#124176 Use pragma once instead of include guards

Change-Id: I778393686b9a51df6437c61a814e5c62a34302de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113433
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
rounak 2021-04-01 01:29:28 +05:30 committed by Julien Nabet
parent a06f8147fe
commit 3b704dc06b
4 changed files with 4 additions and 16 deletions

View File

@ -39,8 +39,7 @@
@return true, if elimination succeeded. @return true, if elimination succeeded.
*/ */
#ifndef INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX #pragma once
#define INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
template <class Matrix, typename BaseType> template <class Matrix, typename BaseType>
bool eliminate( Matrix& matrix, bool eliminate( Matrix& matrix,
@ -165,6 +164,4 @@ bool solve( Matrix& matrix,
return false; return false;
} }
#endif // INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -9,8 +9,7 @@
* *
*/ */
#ifndef PLUGIN_H #pragma once
#define PLUGIN_H
#include <clang/AST/ASTContext.h> #include <clang/AST/ASTContext.h>
#include <clang/AST/RecursiveASTVisitor.h> #include <clang/AST/RecursiveASTVisitor.h>
@ -312,6 +311,4 @@ const Decl* getFunctionDeclContext(ASTContext& context, const Stmt* stmt);
} // namespace } // namespace
#endif // COMPILEPLUGIN_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -9,8 +9,7 @@
* *
*/ */
#ifndef PLUGINHANDLER_H #pragma once
#define PLUGINHANDLER_H
#include <cstddef> #include <cstddef>
#include <functional> #include <functional>
@ -105,6 +104,4 @@ private:
} }
#endif // COMPILEPLUGIN_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -9,8 +9,7 @@
* *
*/ */
#ifndef DUMMYPLUGIN_H #pragma once
#define DUMMYPLUGIN_H
#include "config_clang.h" #include "config_clang.h"
@ -77,6 +76,4 @@ public:
} // namespace } // namespace
#endif // DUMMYPLUGIN_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */