-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added formatter indentation flags (closes #120)
also: - minor refactoring (esp. GNU attributes) - added documentation about formatters being free to ignore flags where necessary
- Loading branch information
Showing
18 changed files
with
569 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
#define TOML_ABI_NAMESPACE_BOOL(...) static_assert(true) | ||
#define TOML_ABI_NAMESPACE_END static_assert(true) | ||
#define TOML_ABSTRACT_BASE | ||
#define TOML_ALWAYS_INLINE inline | ||
#define TOML_ANON_NAMESPACE_END static_assert(true) | ||
#define TOML_ANON_NAMESPACE_START namespace | ||
#define TOML_API | ||
#define TOML_ATTR(...) | ||
#define TOML_ALWAYS_INLINE inline | ||
#define TOML_NEVER_INLINE | ||
#define TOML_TRIVIAL_ABI | ||
#define TOML_ABSTRACT_BASE | ||
#define TOML_EMPTY_BASES | ||
#define TOML_CONST_GETTER | ||
#define TOML_CONST_INLINE_GETTER inline | ||
#define TOML_CONSTRAINED_TEMPLATE(cond, ...) template <__VA_ARGS__> | ||
#define TOML_LIKELY(...) (__VA_ARGS__) | ||
#define TOML_UNLIKELY(...) (__VA_ARGS__) | ||
#define TOML_NODISCARD | ||
#define TOML_NODISCARD_CTOR | ||
#define TOML_RETURNS_BY_THROWING | ||
#define TOML_EMPTY_BASES | ||
#define TOML_EXTERN_NOEXCEPT(...) | ||
#define TOML_EXTERNAL_LINKAGE | ||
#define TOML_IMPL_NAMESPACE_END static_assert(true) | ||
#define TOML_IMPL_NAMESPACE_START namespace toml::impl | ||
#define TOML_INTERNAL_LINKAGE static | ||
#define TOML_ANON_NAMESPACE_START namespace | ||
#define TOML_ANON_NAMESPACE_END static_assert(true) | ||
#define TOML_ABI_NAMESPACE_BOOL(...) static_assert(true) | ||
#define TOML_ABI_NAMESPACE_END static_assert(true) | ||
#define TOML_NAMESPACE_START namespace toml | ||
#define TOML_LIKELY(...) (__VA_ARGS__) | ||
#define TOML_NAMESPACE_END static_assert(true) | ||
#define TOML_IMPL_NAMESPACE_START namespace toml::impl | ||
#define TOML_IMPL_NAMESPACE_END static_assert(true) | ||
#define TOML_NAMESPACE_START namespace toml | ||
#define TOML_NEVER_INLINE | ||
#define TOML_NODISCARD | ||
#define TOML_NODISCARD_CTOR | ||
#define TOML_PURE_GETTER | ||
#define TOML_PURE_INLINE_GETTER inline | ||
#define TOML_RETURNS_BY_THROWING | ||
#define TOML_TRIVIAL_ABI | ||
#define TOML_UNLIKELY(...) (__VA_ARGS__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.