diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-08-06 14:32:54 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-04 11:13:17 +0200 |
commit | 7021dae8115ceac19a2823e8d91e09d952d82c51 (patch) | |
tree | 9dc3097eb696368dd95edbcaae66f2aa6ba0f635 /compilerplugins/clang/compat.hxx | |
parent | 45c2e2edd5589ab355cfc2790a97b650b81861df (diff) |
tdf#124176 Use #pragma once in compilerplugins
This commit was carried out by a Python script, source of which
is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97.
Change-Id: Id60579406a5aa16c3dc05a1bb5f1c1c828d39c50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100251
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'compilerplugins/clang/compat.hxx')
-rw-r--r-- | compilerplugins/clang/compat.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index 51f13d39f332..bf3abf60c941 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_COMPILERPLUGINS_CLANG_COMPAT_HXX -#define INCLUDED_COMPILERPLUGINS_CLANG_COMPAT_HXX +#pragma once #include <cstddef> #include <utility> @@ -310,6 +309,4 @@ inline bool isComparisonOp(clang::CXXOperatorCallExpr const * callExpr) } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |