mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Revise C++ coding style using clang-format-6.0
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * 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.
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
#define cmFortranParser_h
|
||||
|
||||
#if !defined(cmFortranLexer_cxx) && !defined(cmFortranParser_cxx)
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
# include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
# include <set>
|
||||
# include <string>
|
||||
# include <vector>
|
||||
#endif
|
||||
|
||||
#include <stddef.h> /* size_t */
|
||||
@@ -73,20 +73,20 @@ struct cmFortran_yystype
|
||||
#define YYSTYPE cmFortran_yystype
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
#if !defined(cmFortranLexer_cxx)
|
||||
#define YY_NO_UNISTD_H
|
||||
#include "cmFortranLexer.h"
|
||||
# define YY_NO_UNISTD_H
|
||||
# include "cmFortranLexer.h"
|
||||
#endif
|
||||
#if !defined(cmFortranLexer_cxx)
|
||||
#if !defined(cmFortranParser_cxx)
|
||||
#undef YY_EXTRA_TYPE
|
||||
#undef YY_DECL
|
||||
#undef YYSTYPE
|
||||
#undef YYSTYPE_IS_DECLARED
|
||||
#endif
|
||||
# if !defined(cmFortranParser_cxx)
|
||||
# undef YY_EXTRA_TYPE
|
||||
# undef YY_DECL
|
||||
# undef YYSTYPE
|
||||
# undef YYSTYPE_IS_DECLARED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(cmFortranLexer_cxx) && !defined(cmFortranParser_cxx)
|
||||
#include <stack>
|
||||
# include <stack>
|
||||
|
||||
// Information about a single source file.
|
||||
class cmFortranSourceInfo
|
||||
|
||||
Reference in New Issue
Block a user