From 89434e167acfcddf1b6246cd3e1b07634117e767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 7 Aug 2024 15:56:20 +0200 Subject: [PATCH] added Emacs C++ marker to header comments [skip ci] (#6346) --- cli/cmdlinelogger.h | 2 +- cli/cmdlineparser.h | 2 +- cli/cppcheckexecutor.h | 2 +- cli/cppcheckexecutorseh.h | 2 +- cli/executor.h | 2 +- cli/filelister.h | 2 +- cli/precompiled.h | 2 +- cli/processexecutor.h | 2 +- cli/signalhandler.h | 2 +- cli/singleexecutor.h | 2 +- cli/stacktrace.h | 2 +- cli/threadexecutor.h | 2 +- gui/aboutdialog.h | 2 +- gui/application.h | 2 +- gui/applicationdialog.h | 2 +- gui/applicationlist.h | 2 +- gui/checkstatistics.h | 2 +- gui/checkthread.h | 2 +- gui/codeeditor.h | 2 +- gui/codeeditorstyle.h | 2 +- gui/codeeditstylecontrols.h | 2 +- gui/codeeditstyledialog.h | 2 +- gui/common.h | 2 +- gui/compliancereportdialog.h | 2 +- gui/cppchecklibrarydata.h | 2 +- gui/csvreport.h | 2 +- gui/erroritem.h | 2 +- gui/filelist.h | 2 +- gui/fileviewdialog.h | 2 +- gui/helpdialog.h | 2 +- gui/libraryaddfunctiondialog.h | 2 +- gui/librarydialog.h | 2 +- gui/libraryeditargdialog.h | 2 +- gui/mainwindow.h | 2 +- gui/newsuppressiondialog.h | 2 +- gui/platforms.h | 2 +- gui/precompiled.h | 2 +- gui/precompiled_qmake.h | 2 +- gui/printablereport.h | 2 +- gui/projectfile.h | 2 +- gui/projectfiledialog.h | 2 +- gui/report.h | 2 +- gui/resultstree.h | 2 +- gui/resultsview.h | 2 +- gui/scratchpad.h | 2 +- gui/settingsdialog.h | 2 +- gui/showtypes.h | 2 +- gui/statsdialog.h | 2 +- .../testcppchecklibrarydata.h | 2 +- gui/test/filelist/testfilelist.h | 2 +- gui/test/projectfile/testprojectfile.h | 2 +- gui/test/resultstree/testresultstree.h | 2 +- .../testtranslationhandler.h | 2 +- gui/test/xmlreportv2/testxmlreportv2.h | 2 +- gui/threadhandler.h | 2 +- gui/threadresult.h | 2 +- gui/translationhandler.h | 2 +- gui/txtreport.h | 2 +- gui/xmlreport.h | 2 +- gui/xmlreportv2.h | 2 +- lib/addoninfo.h | 2 +- lib/analyzer.h | 2 +- lib/analyzerinfo.h | 2 +- lib/astutils.h | 2 +- lib/calculate.h | 2 +- lib/check.h | 2 +- lib/check64bit.h | 2 +- lib/checkassert.h | 2 +- lib/checkautovariables.h | 2 +- lib/checkbool.h | 2 +- lib/checkboost.h | 2 +- lib/checkbufferoverrun.h | 2 +- lib/checkclass.h | 2 +- lib/checkcondition.h | 2 +- lib/checkers.h | 2 +- lib/checkersreport.h | 2 +- lib/checkexceptionsafety.h | 2 +- lib/checkfunctions.h | 2 +- lib/checkinternal.h | 2 +- lib/checkio.h | 2 +- lib/checkleakautovar.h | 2 +- lib/checkmemoryleak.h | 2 +- lib/checknullpointer.h | 2 +- lib/checkother.h | 2 +- lib/checkpostfixoperator.h | 2 +- lib/checksizeof.h | 2 +- lib/checkstl.h | 2 +- lib/checkstring.h | 2 +- lib/checktype.h | 2 +- lib/checkuninitvar.h | 2 +- lib/checkunusedfunctions.h | 2 +- lib/checkunusedvar.h | 2 +- lib/checkvaarg.h | 2 +- lib/clangimport.h | 2 +- lib/color.h | 2 +- lib/config.h | 2 +- lib/cppcheck.h | 2 +- lib/ctu.h | 2 +- lib/errorlogger.h | 2 +- lib/errortypes.h | 2 +- lib/filesettings.h | 2 +- lib/findtoken.h | 2 +- lib/forwardanalyzer.h | 2 +- lib/fwdanalysis.h | 2 +- lib/importproject.h | 2 +- lib/infer.h | 2 +- lib/json.h | 2 +- lib/keywords.h | 2 +- lib/library.h | 2 +- lib/matchcompiler.h | 2 +- lib/mathlib.h | 2 +- lib/path.h | 2 +- lib/pathanalysis.h | 2 +- lib/pathmatch.h | 2 +- lib/platform.h | 2 +- lib/precompiled.h | 2 +- lib/preprocessor.h | 2 +- lib/programmemory.h | 2 +- lib/reverseanalyzer.h | 2 +- lib/settings.h | 2 +- lib/smallvector.h | 2 +- lib/sourcelocation.h | 2 +- lib/standards.h | 2 +- lib/summaries.h | 2 +- lib/suppressions.h | 2 +- lib/symboldatabase.h | 2 +- lib/templatesimplifier.h | 2 +- lib/timer.h | 2 +- lib/token.h | 2 +- lib/tokenize.h | 2 +- lib/tokenlist.h | 2 +- lib/tokenrange.h | 2 +- lib/utils.h | 2 +- lib/valueflow.h | 2 +- lib/valueptr.h | 2 +- lib/version.h | 18 ++++++++++++++++++ lib/vf_analyze.h | 2 +- lib/vf_array.h | 2 +- lib/vf_arraybool.h | 2 +- lib/vf_arrayelement.h | 2 +- lib/vf_bailout.h | 2 +- lib/vf_bitand.h | 2 +- lib/vf_common.h | 2 +- lib/vf_debug.h | 2 +- lib/vf_enumvalue.h | 2 +- lib/vf_functionreturn.h | 2 +- lib/vf_globalconstvar.h | 2 +- lib/vf_globalstaticvar.h | 2 +- lib/vf_impossiblevalues.h | 2 +- lib/vf_iterators.h | 2 +- lib/vf_number.h | 2 +- lib/vf_pointeralias.h | 2 +- lib/vf_rightshift.h | 2 +- lib/vf_sameexpressions.h | 2 +- lib/vf_string.h | 2 +- lib/vf_symbolicinfer.h | 2 +- lib/vf_unknownfunctionreturn.h | 2 +- lib/vfvalue.h | 2 +- lib/xml.h | 2 +- oss-fuzz/type2.h | 2 +- test/fixture.h | 2 +- test/helpers.h | 2 +- test/precompiled.h | 2 +- tools/triage/mainwindow.h | 2 +- 164 files changed, 181 insertions(+), 163 deletions(-) diff --git a/cli/cmdlinelogger.h b/cli/cmdlinelogger.h index 6f165785327..db35bf13021 100644 --- a/cli/cmdlinelogger.h +++ b/cli/cmdlinelogger.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/cli/cmdlineparser.h b/cli/cmdlineparser.h index a8909b8c212..b1abdd1222b 100644 --- a/cli/cmdlineparser.h +++ b/cli/cmdlineparser.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/cppcheckexecutor.h b/cli/cppcheckexecutor.h index 8a740cffee0..16076cab035 100644 --- a/cli/cppcheckexecutor.h +++ b/cli/cppcheckexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/cppcheckexecutorseh.h b/cli/cppcheckexecutorseh.h index 4fa8276130d..42955bbce7f 100644 --- a/cli/cppcheckexecutorseh.h +++ b/cli/cppcheckexecutorseh.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/executor.h b/cli/executor.h index 1b6870f9247..c77cd00f049 100644 --- a/cli/executor.h +++ b/cli/executor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/filelister.h b/cli/filelister.h index 92479a730e5..73498bfc9d3 100644 --- a/cli/filelister.h +++ b/cli/filelister.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/cli/precompiled.h b/cli/precompiled.h index c77546f480e..a1075ef6a58 100644 --- a/cli/precompiled.h +++ b/cli/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/cli/processexecutor.h b/cli/processexecutor.h index 675b7c429b9..244ea4fdc46 100644 --- a/cli/processexecutor.h +++ b/cli/processexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/signalhandler.h b/cli/signalhandler.h index 416846f36b9..c3df37328c8 100644 --- a/cli/signalhandler.h +++ b/cli/signalhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/singleexecutor.h b/cli/singleexecutor.h index 1a208607066..f4cd9588f82 100644 --- a/cli/singleexecutor.h +++ b/cli/singleexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/stacktrace.h b/cli/stacktrace.h index 4e96da9ac80..1e98d55ebc0 100644 --- a/cli/stacktrace.h +++ b/cli/stacktrace.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/threadexecutor.h b/cli/threadexecutor.h index 1706cfffa4d..7181e087332 100644 --- a/cli/threadexecutor.h +++ b/cli/threadexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/aboutdialog.h b/gui/aboutdialog.h index 7e46839d725..a347a34448f 100644 --- a/gui/aboutdialog.h +++ b/gui/aboutdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/application.h b/gui/application.h index 384f50d1a3a..a7ffd34ffe9 100644 --- a/gui/application.h +++ b/gui/application.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/applicationdialog.h b/gui/applicationdialog.h index 4bc68bf5b13..dec386946cd 100644 --- a/gui/applicationdialog.h +++ b/gui/applicationdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/applicationlist.h b/gui/applicationlist.h index 537ca51af35..e9f307577bf 100644 --- a/gui/applicationlist.h +++ b/gui/applicationlist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/checkstatistics.h b/gui/checkstatistics.h index e4d4da9d8ee..5998c1f6b0c 100644 --- a/gui/checkstatistics.h +++ b/gui/checkstatistics.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/checkthread.h b/gui/checkthread.h index 0d2ffbfea83..76bbba426de 100644 --- a/gui/checkthread.h +++ b/gui/checkthread.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/codeeditor.h b/gui/codeeditor.h index 94ab3340367..9eafd2feb67 100644 --- a/gui/codeeditor.h +++ b/gui/codeeditor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/codeeditorstyle.h b/gui/codeeditorstyle.h index a700aa810ee..953d55bf0b2 100644 --- a/gui/codeeditorstyle.h +++ b/gui/codeeditorstyle.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/codeeditstylecontrols.h b/gui/codeeditstylecontrols.h index 719d84d2a6a..48f232db703 100644 --- a/gui/codeeditstylecontrols.h +++ b/gui/codeeditstylecontrols.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/codeeditstyledialog.h b/gui/codeeditstyledialog.h index 331795d4fbc..09a1418fa26 100644 --- a/gui/codeeditstyledialog.h +++ b/gui/codeeditstyledialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/common.h b/gui/common.h index a57ebde5081..449724eec77 100644 --- a/gui/common.h +++ b/gui/common.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/compliancereportdialog.h b/gui/compliancereportdialog.h index af4146cef9f..6255e7371a4 100644 --- a/gui/compliancereportdialog.h +++ b/gui/compliancereportdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/cppchecklibrarydata.h b/gui/cppchecklibrarydata.h index 88ac477f28d..e4043eaa23a 100644 --- a/gui/cppchecklibrarydata.h +++ b/gui/cppchecklibrarydata.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/csvreport.h b/gui/csvreport.h index b1bed2841cc..64e846a4e57 100644 --- a/gui/csvreport.h +++ b/gui/csvreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/erroritem.h b/gui/erroritem.h index e8c7a2a72d5..e81f6a19dd5 100644 --- a/gui/erroritem.h +++ b/gui/erroritem.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/filelist.h b/gui/filelist.h index 6e685e8617b..d5423cd22df 100644 --- a/gui/filelist.h +++ b/gui/filelist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/fileviewdialog.h b/gui/fileviewdialog.h index 91c455eb869..639132bfb48 100644 --- a/gui/fileviewdialog.h +++ b/gui/fileviewdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/helpdialog.h b/gui/helpdialog.h index fd9c14e418d..2af905ce558 100644 --- a/gui/helpdialog.h +++ b/gui/helpdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/libraryaddfunctiondialog.h b/gui/libraryaddfunctiondialog.h index d39666defb5..31d2f038ae2 100644 --- a/gui/libraryaddfunctiondialog.h +++ b/gui/libraryaddfunctiondialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/librarydialog.h b/gui/librarydialog.h index ac27d42756c..d70d9d435b1 100644 --- a/gui/librarydialog.h +++ b/gui/librarydialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/libraryeditargdialog.h b/gui/libraryeditargdialog.h index 238dc84a02e..59ba58d39ba 100644 --- a/gui/libraryeditargdialog.h +++ b/gui/libraryeditargdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 608f8959b71..165e263246d 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/newsuppressiondialog.h b/gui/newsuppressiondialog.h index 88ea1fda949..a0e637ddfec 100644 --- a/gui/newsuppressiondialog.h +++ b/gui/newsuppressiondialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/platforms.h b/gui/platforms.h index dc941efbc75..419d3c7e67f 100644 --- a/gui/platforms.h +++ b/gui/platforms.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/precompiled.h b/gui/precompiled.h index 7e10f3e1a18..f2527c91633 100644 --- a/gui/precompiled.h +++ b/gui/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/precompiled_qmake.h b/gui/precompiled_qmake.h index 9ef90ecfd40..204f43d842d 100644 --- a/gui/precompiled_qmake.h +++ b/gui/precompiled_qmake.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/gui/printablereport.h b/gui/printablereport.h index 8df59ba914d..0a32db96e29 100644 --- a/gui/printablereport.h +++ b/gui/printablereport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/projectfile.h b/gui/projectfile.h index 2bc8752ca80..656ee9d4269 100644 --- a/gui/projectfile.h +++ b/gui/projectfile.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/projectfiledialog.h b/gui/projectfiledialog.h index 29d13f38e4a..77374087957 100644 --- a/gui/projectfiledialog.h +++ b/gui/projectfiledialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/report.h b/gui/report.h index 12823d25780..36e6ed20d68 100644 --- a/gui/report.h +++ b/gui/report.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/gui/resultstree.h b/gui/resultstree.h index a360c7f8eb9..fd16c8c52d8 100644 --- a/gui/resultstree.h +++ b/gui/resultstree.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/resultsview.h b/gui/resultsview.h index 07cd8b7f341..dc640a35e7c 100644 --- a/gui/resultsview.h +++ b/gui/resultsview.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/scratchpad.h b/gui/scratchpad.h index 384e2543c94..19858d5307f 100644 --- a/gui/scratchpad.h +++ b/gui/scratchpad.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/settingsdialog.h b/gui/settingsdialog.h index 7b1fb694c5f..bf867ab3a0d 100644 --- a/gui/settingsdialog.h +++ b/gui/settingsdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/showtypes.h b/gui/showtypes.h index 1d3829baa4d..927a07475e1 100644 --- a/gui/showtypes.h +++ b/gui/showtypes.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/statsdialog.h b/gui/statsdialog.h index 62c93fcab58..f9e0a28136f 100644 --- a/gui/statsdialog.h +++ b/gui/statsdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h index 079436f5509..15f79b67c7e 100644 --- a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h +++ b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/filelist/testfilelist.h b/gui/test/filelist/testfilelist.h index 1089499932a..b0f1fb256c6 100644 --- a/gui/test/filelist/testfilelist.h +++ b/gui/test/filelist/testfilelist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/projectfile/testprojectfile.h b/gui/test/projectfile/testprojectfile.h index 805e06cf9b5..fc61a6472e0 100644 --- a/gui/test/projectfile/testprojectfile.h +++ b/gui/test/projectfile/testprojectfile.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/resultstree/testresultstree.h b/gui/test/resultstree/testresultstree.h index 8f0b4f56df6..a718690be32 100644 --- a/gui/test/resultstree/testresultstree.h +++ b/gui/test/resultstree/testresultstree.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/translationhandler/testtranslationhandler.h b/gui/test/translationhandler/testtranslationhandler.h index 45bd1ae5186..4c91a9670f9 100644 --- a/gui/test/translationhandler/testtranslationhandler.h +++ b/gui/test/translationhandler/testtranslationhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/xmlreportv2/testxmlreportv2.h b/gui/test/xmlreportv2/testxmlreportv2.h index d5d0f659f93..2b07aab4724 100644 --- a/gui/test/xmlreportv2/testxmlreportv2.h +++ b/gui/test/xmlreportv2/testxmlreportv2.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/threadhandler.h b/gui/threadhandler.h index e2b06c3e590..63f18ab54e3 100644 --- a/gui/threadhandler.h +++ b/gui/threadhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/threadresult.h b/gui/threadresult.h index f9611eac2d4..66e6e0336a8 100644 --- a/gui/threadresult.h +++ b/gui/threadresult.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/translationhandler.h b/gui/translationhandler.h index 88cb087c366..0b2988f583e 100644 --- a/gui/translationhandler.h +++ b/gui/translationhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/txtreport.h b/gui/txtreport.h index d3e74f93d7c..8c844e6f038 100644 --- a/gui/txtreport.h +++ b/gui/txtreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/xmlreport.h b/gui/xmlreport.h index e275749300b..936414d1f48 100644 --- a/gui/xmlreport.h +++ b/gui/xmlreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/gui/xmlreportv2.h b/gui/xmlreportv2.h index f32cd6ebe78..6f5834b3417 100644 --- a/gui/xmlreportv2.h +++ b/gui/xmlreportv2.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/addoninfo.h b/lib/addoninfo.h index 5e4443eb8bd..a416960dcc0 100644 --- a/lib/addoninfo.h +++ b/lib/addoninfo.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/analyzer.h b/lib/analyzer.h index b0f406bb905..76824cc80d7 100644 --- a/lib/analyzer.h +++ b/lib/analyzer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/analyzerinfo.h b/lib/analyzerinfo.h index 1818fa22c1c..e05f08e8317 100644 --- a/lib/analyzerinfo.h +++ b/lib/analyzerinfo.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/astutils.h b/lib/astutils.h index 08630e703f0..faaddc99e23 100644 --- a/lib/astutils.h +++ b/lib/astutils.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/calculate.h b/lib/calculate.h index b5ed6e3ea91..3812962cff4 100644 --- a/lib/calculate.h +++ b/lib/calculate.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/check.h b/lib/check.h index dc4a12d8b97..ce128ee7d25 100644 --- a/lib/check.h +++ b/lib/check.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/check64bit.h b/lib/check64bit.h index 34d26e81bb2..9b154fa1912 100644 --- a/lib/check64bit.h +++ b/lib/check64bit.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkassert.h b/lib/checkassert.h index 7de7106fe67..ff8ac491e96 100644 --- a/lib/checkassert.h +++ b/lib/checkassert.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkautovariables.h b/lib/checkautovariables.h index 3351d8cd76d..fb4f116d5a0 100644 --- a/lib/checkautovariables.h +++ b/lib/checkautovariables.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkbool.h b/lib/checkbool.h index cceb0540ce1..8a4b151829e 100644 --- a/lib/checkbool.h +++ b/lib/checkbool.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkboost.h b/lib/checkboost.h index b8be552136f..f66b0eadfaa 100644 --- a/lib/checkboost.h +++ b/lib/checkboost.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkbufferoverrun.h b/lib/checkbufferoverrun.h index 6b99021f695..40caa04476a 100644 --- a/lib/checkbufferoverrun.h +++ b/lib/checkbufferoverrun.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkclass.h b/lib/checkclass.h index a07f2d19895..6cf0fb32f8b 100644 --- a/lib/checkclass.h +++ b/lib/checkclass.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkcondition.h b/lib/checkcondition.h index c1edd6e9a09..111a633900f 100644 --- a/lib/checkcondition.h +++ b/lib/checkcondition.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkers.h b/lib/checkers.h index be885d9e791..13f9570172e 100644 --- a/lib/checkers.h +++ b/lib/checkers.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/checkersreport.h b/lib/checkersreport.h index e0c8654e08f..caf1d7c20fb 100644 --- a/lib/checkersreport.h +++ b/lib/checkersreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/checkexceptionsafety.h b/lib/checkexceptionsafety.h index dea6ee534be..0a1c1922178 100644 --- a/lib/checkexceptionsafety.h +++ b/lib/checkexceptionsafety.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkfunctions.h b/lib/checkfunctions.h index 7ab34209a84..495b0ad37d4 100644 --- a/lib/checkfunctions.h +++ b/lib/checkfunctions.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkinternal.h b/lib/checkinternal.h index 87ef2323c43..e308ec0dbbd 100644 --- a/lib/checkinternal.h +++ b/lib/checkinternal.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkio.h b/lib/checkio.h index 5a0b6968b5b..b798f562064 100644 --- a/lib/checkio.h +++ b/lib/checkio.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkleakautovar.h b/lib/checkleakautovar.h index 12f60978894..5bcb42e5746 100644 --- a/lib/checkleakautovar.h +++ b/lib/checkleakautovar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkmemoryleak.h b/lib/checkmemoryleak.h index 4e21a2e2e33..34080d61c45 100644 --- a/lib/checkmemoryleak.h +++ b/lib/checkmemoryleak.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checknullpointer.h b/lib/checknullpointer.h index 2b01c6b72a5..843aeaa134e 100644 --- a/lib/checknullpointer.h +++ b/lib/checknullpointer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkother.h b/lib/checkother.h index 3c327a5959f..d151ceb0862 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkpostfixoperator.h b/lib/checkpostfixoperator.h index b1f6418875a..e30bfb7cf98 100644 --- a/lib/checkpostfixoperator.h +++ b/lib/checkpostfixoperator.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checksizeof.h b/lib/checksizeof.h index 6924a1d2b7b..81d6db49c64 100644 --- a/lib/checksizeof.h +++ b/lib/checksizeof.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkstl.h b/lib/checkstl.h index 3993517e508..60cb3c2cc23 100644 --- a/lib/checkstl.h +++ b/lib/checkstl.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkstring.h b/lib/checkstring.h index 5a2b60507da..8fb6efd697f 100644 --- a/lib/checkstring.h +++ b/lib/checkstring.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checktype.h b/lib/checktype.h index 43f1340c172..d0130a3ade7 100644 --- a/lib/checktype.h +++ b/lib/checktype.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkuninitvar.h b/lib/checkuninitvar.h index 1026146dc2c..5b9aaf69c93 100644 --- a/lib/checkuninitvar.h +++ b/lib/checkuninitvar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkunusedfunctions.h b/lib/checkunusedfunctions.h index 65b22eb061e..88a411cc048 100644 --- a/lib/checkunusedfunctions.h +++ b/lib/checkunusedfunctions.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkunusedvar.h b/lib/checkunusedvar.h index 9c697dcfc32..55d7735651d 100644 --- a/lib/checkunusedvar.h +++ b/lib/checkunusedvar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkvaarg.h b/lib/checkvaarg.h index f4d5c214a9f..63d7ddbe3c0 100644 --- a/lib/checkvaarg.h +++ b/lib/checkvaarg.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/clangimport.h b/lib/clangimport.h index d3ceb105335..0475491d9af 100644 --- a/lib/clangimport.h +++ b/lib/clangimport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/color.h b/lib/color.h index 96ce2ac716c..f944bd4ae77 100644 --- a/lib/color.h +++ b/lib/color.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/config.h b/lib/config.h index 3674f7786e0..0aecf2c52d5 100644 --- a/lib/config.h +++ b/lib/config.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/cppcheck.h b/lib/cppcheck.h index fd851af64d9..6483f80680f 100644 --- a/lib/cppcheck.h +++ b/lib/cppcheck.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/ctu.h b/lib/ctu.h index a1ab9a2c3a6..c642c4a2608 100644 --- a/lib/ctu.h +++ b/lib/ctu.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/errorlogger.h b/lib/errorlogger.h index 6da1c4cade8..3af84f07751 100644 --- a/lib/errorlogger.h +++ b/lib/errorlogger.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/errortypes.h b/lib/errortypes.h index 0a13030c9f1..321bb14805b 100644 --- a/lib/errortypes.h +++ b/lib/errortypes.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/filesettings.h b/lib/filesettings.h index 1c8996f2a2d..75bf8faaa50 100644 --- a/lib/filesettings.h +++ b/lib/filesettings.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/findtoken.h b/lib/findtoken.h index afb38a682f7..7382dbdfcc9 100644 --- a/lib/findtoken.h +++ b/lib/findtoken.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/forwardanalyzer.h b/lib/forwardanalyzer.h index f5c2249720f..7b722f48c35 100644 --- a/lib/forwardanalyzer.h +++ b/lib/forwardanalyzer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/fwdanalysis.h b/lib/fwdanalysis.h index 6cd3b5a2895..389ea195da2 100644 --- a/lib/fwdanalysis.h +++ b/lib/fwdanalysis.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/importproject.h b/lib/importproject.h index 795480613a4..7382b56eb8d 100644 --- a/lib/importproject.h +++ b/lib/importproject.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/infer.h b/lib/infer.h index ed477380a8f..eeb2e7077e2 100644 --- a/lib/infer.h +++ b/lib/infer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/json.h b/lib/json.h index f4177b5cf42..0dcefd3d5dc 100644 --- a/lib/json.h +++ b/lib/json.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/keywords.h b/lib/keywords.h index 4b03c18aa74..c57ad7b17cd 100644 --- a/lib/keywords.h +++ b/lib/keywords.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/library.h b/lib/library.h index baf778c476f..7adc83cd6da 100644 --- a/lib/library.h +++ b/lib/library.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/matchcompiler.h b/lib/matchcompiler.h index 323f455050b..fedbab38a24 100644 --- a/lib/matchcompiler.h +++ b/lib/matchcompiler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/mathlib.h b/lib/mathlib.h index 9075cdcc811..a468cf92c90 100644 --- a/lib/mathlib.h +++ b/lib/mathlib.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/path.h b/lib/path.h index d4955a54155..f3dd870af70 100644 --- a/lib/path.h +++ b/lib/path.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/pathanalysis.h b/lib/pathanalysis.h index d0415873be5..16851399b1a 100644 --- a/lib/pathanalysis.h +++ b/lib/pathanalysis.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/pathmatch.h b/lib/pathmatch.h index 8060d6b04e7..36c70ca7df1 100644 --- a/lib/pathmatch.h +++ b/lib/pathmatch.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/lib/platform.h b/lib/platform.h index df9ad01e4d0..7e650a904fb 100644 --- a/lib/platform.h +++ b/lib/platform.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/precompiled.h b/lib/precompiled.h index 872dd00e940..ad4f3efe5c5 100644 --- a/lib/precompiled.h +++ b/lib/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/preprocessor.h b/lib/preprocessor.h index 7bb198e3fa5..af9b7bc3cb8 100644 --- a/lib/preprocessor.h +++ b/lib/preprocessor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/programmemory.h b/lib/programmemory.h index c0cb1db8226..505cc8e3230 100644 --- a/lib/programmemory.h +++ b/lib/programmemory.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/reverseanalyzer.h b/lib/reverseanalyzer.h index 3f0285e5e56..2a9877fb337 100644 --- a/lib/reverseanalyzer.h +++ b/lib/reverseanalyzer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/settings.h b/lib/settings.h index 755ff1b43fe..602a3da5a0c 100644 --- a/lib/settings.h +++ b/lib/settings.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/smallvector.h b/lib/smallvector.h index b09a016dd18..dc6c171b4a3 100644 --- a/lib/smallvector.h +++ b/lib/smallvector.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/sourcelocation.h b/lib/sourcelocation.h index 759f30d15c4..6661f4df24f 100644 --- a/lib/sourcelocation.h +++ b/lib/sourcelocation.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/standards.h b/lib/standards.h index ae579d84986..4965e432fcd 100644 --- a/lib/standards.h +++ b/lib/standards.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/summaries.h b/lib/summaries.h index b15cc5e9446..87d3c5b5d63 100644 --- a/lib/summaries.h +++ b/lib/summaries.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/suppressions.h b/lib/suppressions.h index 063b081e092..b6b8c815117 100644 --- a/lib/suppressions.h +++ b/lib/suppressions.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/symboldatabase.h b/lib/symboldatabase.h index b7cd4c8f7eb..f481034c609 100644 --- a/lib/symboldatabase.h +++ b/lib/symboldatabase.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/templatesimplifier.h b/lib/templatesimplifier.h index 62245d505e6..db7d6967e9c 100644 --- a/lib/templatesimplifier.h +++ b/lib/templatesimplifier.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/timer.h b/lib/timer.h index 28d3dffdac5..362f2df1802 100644 --- a/lib/timer.h +++ b/lib/timer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/token.h b/lib/token.h index 683f3b4449b..829cba6fe70 100644 --- a/lib/token.h +++ b/lib/token.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/tokenize.h b/lib/tokenize.h index dbbb2ded598..5043c67d73b 100644 --- a/lib/tokenize.h +++ b/lib/tokenize.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/tokenlist.h b/lib/tokenlist.h index 66bb008b783..1bf852d3734 100644 --- a/lib/tokenlist.h +++ b/lib/tokenlist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/tokenrange.h b/lib/tokenrange.h index dda2710e881..762a4dbc57b 100644 --- a/lib/tokenrange.h +++ b/lib/tokenrange.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/utils.h b/lib/utils.h index 9c1c1231db3..2f8766ae017 100644 --- a/lib/utils.h +++ b/lib/utils.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/valueflow.h b/lib/valueflow.h index 7977c62c2ba..01633367461 100644 --- a/lib/valueflow.h +++ b/lib/valueflow.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/valueptr.h b/lib/valueptr.h index 480c4fd319f..69869e0532d 100644 --- a/lib/valueptr.h +++ b/lib/valueptr.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/version.h b/lib/version.h index fecb5831973..ce37098379e 100644 --- a/lib/version.h +++ b/lib/version.h @@ -1,3 +1,21 @@ +/* -*- C++ -*- + * Cppcheck - A tool for static C/C++ code analysis + * Copyright (C) 2007-2024 Cppcheck team. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // For a release version x.y.z the MAJOR should be x and both MINOR and DEVMINOR should be y. // After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1 diff --git a/lib/vf_analyze.h b/lib/vf_analyze.h index 97145576da5..0ae58676ec2 100644 --- a/lib/vf_analyze.h +++ b/lib/vf_analyze.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_array.h b/lib/vf_array.h index a7ef79c7e79..fbcd7489a76 100644 --- a/lib/vf_array.h +++ b/lib/vf_array.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_arraybool.h b/lib/vf_arraybool.h index be35c897bd5..8a616da1566 100644 --- a/lib/vf_arraybool.h +++ b/lib/vf_arraybool.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_arrayelement.h b/lib/vf_arrayelement.h index d924109f875..6930ea25ab9 100644 --- a/lib/vf_arrayelement.h +++ b/lib/vf_arrayelement.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_bailout.h b/lib/vf_bailout.h index 5dac1265309..868755d3a25 100644 --- a/lib/vf_bailout.h +++ b/lib/vf_bailout.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_bitand.h b/lib/vf_bitand.h index df958254291..616cf2ee0e9 100644 --- a/lib/vf_bitand.h +++ b/lib/vf_bitand.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_common.h b/lib/vf_common.h index 8e9a7a042ae..b455a19df6f 100644 --- a/lib/vf_common.h +++ b/lib/vf_common.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_debug.h b/lib/vf_debug.h index 8e5de01db1a..c8d367bed93 100644 --- a/lib/vf_debug.h +++ b/lib/vf_debug.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_enumvalue.h b/lib/vf_enumvalue.h index ee255c763a5..efac5d60232 100644 --- a/lib/vf_enumvalue.h +++ b/lib/vf_enumvalue.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_functionreturn.h b/lib/vf_functionreturn.h index b32af39f70b..25baba34184 100644 --- a/lib/vf_functionreturn.h +++ b/lib/vf_functionreturn.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_globalconstvar.h b/lib/vf_globalconstvar.h index b0f79ae68f9..2fd525ed52b 100644 --- a/lib/vf_globalconstvar.h +++ b/lib/vf_globalconstvar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_globalstaticvar.h b/lib/vf_globalstaticvar.h index 8e0cdbc16b4..dcbae981eb9 100644 --- a/lib/vf_globalstaticvar.h +++ b/lib/vf_globalstaticvar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_impossiblevalues.h b/lib/vf_impossiblevalues.h index 018976ec605..21a341ea8d1 100644 --- a/lib/vf_impossiblevalues.h +++ b/lib/vf_impossiblevalues.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_iterators.h b/lib/vf_iterators.h index 22b2d6ab87c..2b1a9ad9255 100644 --- a/lib/vf_iterators.h +++ b/lib/vf_iterators.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_number.h b/lib/vf_number.h index 2e8d3c222c3..6cb46312433 100644 --- a/lib/vf_number.h +++ b/lib/vf_number.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_pointeralias.h b/lib/vf_pointeralias.h index 8ef12c37146..520705586eb 100644 --- a/lib/vf_pointeralias.h +++ b/lib/vf_pointeralias.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_rightshift.h b/lib/vf_rightshift.h index cf7c9c61b46..e7e16028281 100644 --- a/lib/vf_rightshift.h +++ b/lib/vf_rightshift.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_sameexpressions.h b/lib/vf_sameexpressions.h index d8dbe209c2f..97a579dac21 100644 --- a/lib/vf_sameexpressions.h +++ b/lib/vf_sameexpressions.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_string.h b/lib/vf_string.h index b899fbcb25e..7d4af17447d 100644 --- a/lib/vf_string.h +++ b/lib/vf_string.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_symbolicinfer.h b/lib/vf_symbolicinfer.h index 6a21e4a9e55..7ec5374cd39 100644 --- a/lib/vf_symbolicinfer.h +++ b/lib/vf_symbolicinfer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vf_unknownfunctionreturn.h b/lib/vf_unknownfunctionreturn.h index 1de8072e4d2..2e93970b57f 100644 --- a/lib/vf_unknownfunctionreturn.h +++ b/lib/vf_unknownfunctionreturn.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/vfvalue.h b/lib/vfvalue.h index 8abecac2a06..3bd5c77d149 100644 --- a/lib/vfvalue.h +++ b/lib/vfvalue.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/xml.h b/lib/xml.h index 8c720466201..3e19d25a3d6 100644 --- a/lib/xml.h +++ b/lib/xml.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/oss-fuzz/type2.h b/oss-fuzz/type2.h index 8a7997b19ec..aad93c5b9ef 100644 --- a/oss-fuzz/type2.h +++ b/oss-fuzz/type2.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/test/fixture.h b/test/fixture.h index a494d2d7408..fc88c50cb10 100644 --- a/test/fixture.h +++ b/test/fixture.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/test/helpers.h b/test/helpers.h index 6bb4248dcc8..f85f5a01fe7 100644 --- a/test/helpers.h +++ b/test/helpers.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/test/precompiled.h b/test/precompiled.h index 9fba4c2a659..ce71f4071f5 100644 --- a/test/precompiled.h +++ b/test/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/tools/triage/mainwindow.h b/tools/triage/mainwindow.h index 6c5085b4d1d..cac725963bd 100644 --- a/tools/triage/mainwindow.h +++ b/tools/triage/mainwindow.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. *