Revise C++ coding style using clang-format with "east const"

Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`, now with "east const" enforcement.
Use `clang-format` version 18.

* If you reached this commit for a line in `git blame`, re-run the blame
  operation starting at the parent of this commit to see older history
  for the content.

* See the parent commit for instructions to rebase a change across this
  style transition commit.

Issue: #26123
This commit is contained in:
Kitware Robot
2025-01-23 11:54:40 -05:00
committed by Brad King
parent 6ef947ea97
commit 0b96ae1f6a
887 changed files with 9690 additions and 9692 deletions
+7 -7
View File
@@ -44,7 +44,7 @@ public:
void ClearTables();
// Store options from command line flags.
void Parse(const std::string& flags);
void Parse(std::string const& flags);
void ParseFinish();
void PrependInheritedString(std::string const& key);
@@ -73,17 +73,17 @@ public:
bool IsManaged() const;
// Write options to output.
void OutputPreprocessorDefinitions(std::ostream& fout, int indent,
const std::string& lang);
std::string const& lang);
void OutputAdditionalIncludeDirectories(std::ostream& fout, int indent,
const std::string& lang);
std::string const& lang);
void OutputFlagMap(std::ostream& fout, int indent);
void SetConfiguration(const std::string& config);
const std::string& GetConfiguration() const;
void SetConfiguration(std::string const& config);
std::string const& GetConfiguration() const;
protected:
virtual void OutputFlag(std::ostream& fout, int indent,
const std::string& tag,
const std::string& content) = 0;
std::string const& tag,
std::string const& content) = 0;
private:
cmLocalVisualStudioGenerator* LocalGenerator;