From 7021dae8115ceac19a2823e8d91e09d952d82c51 Mon Sep 17 00:00:00 2001 From: George Bateman Date: Thu, 6 Aug 2020 14:32:54 +0000 Subject: 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 --- compilerplugins/clang/compat.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'compilerplugins/clang/compat.hxx') 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 #include @@ -310,6 +309,4 @@ inline bool isComparisonOp(clang::CXXOperatorCallExpr const * callExpr) } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit