| 
    Ada 3.2.2
    
   Fast spec-compliant URL parser 
   | 
 
Common definitions for cross-platform compiler support. More...
#include <version>Go to the source code of this file.
Namespaces | |
| namespace | ada | 
Macros | |
| #define | ADA_BEGIN_DEBUG_BLOCK(name) | 
| #define | ADA_END_DEBUG_BLOCK(name) | 
| #define | ADA_DEBUG_BLOCK(name, block) | 
| #define | ADA_ROUNDUP_N(a, n) | 
| #define | ADA_ROUNDDOWN_N(a, n) | 
| #define | ADA_ISALIGNED_N(ptr, n) | 
| #define | ada_really_inline inline __attribute__((always_inline)) | 
| #define | ada_never_inline inline __attribute__((noinline)) | 
| #define | ada_unused __attribute__((unused)) | 
| #define | ada_warn_unused __attribute__((warn_unused_result)) | 
| #define | ADA_PUSH_DISABLE_WARNINGS _Pragma("GCC diagnostic push") | 
| #define | ADA_PUSH_DISABLE_ALL_WARNINGS | 
| #define | ADA_PRAGMA(P) | 
| #define | ADA_DISABLE_GCC_WARNING(WARNING) | 
| #define | ADA_DISABLE_UNDESIRED_WARNINGS | 
| #define | ADA_DISABLE_DEPRECATED_WARNING ADA_DISABLE_GCC_WARNING("-Wdeprecated-declarations") | 
| #define | ADA_DISABLE_STRICT_OVERFLOW_WARNING ADA_DISABLE_GCC_WARNING("-Wstrict-overflow") | 
| #define | ADA_POP_DISABLE_WARNINGS _Pragma("GCC diagnostic pop") | 
| #define | ADA_DLLIMPORTEXPORT | 
| #define | ADA_TRY(EXPR) | 
| If EXPR is an error, returns it.   | |
| #define | __has_cpp_attribute(x) | 
| #define | ADA_ATTRIBUTE_NOINLINE | 
| #define | ADA_DEVELOPMENT_CHECKS 1 | 
| #define | ADA_STR(x) | 
| #define | ADA_REQUIRE(EXPR) | 
| #define | ADA_FAIL(MESSAGE) | 
| #define | ADA_ASSERT_EQUAL(LHS, RHS, MESSAGE) | 
| #define | ADA_ASSERT_TRUE(COND) | 
| #define | ADA_ASSUME(COND) | 
| #define | ada_lifetime_bound | 
| #define | ADA_INCLUDE_URL_PATTERN 1 | 
Functions | |
| void | ada::unreachable () | 
Common definitions for cross-platform compiler support.
Definition in file common_defs.h.
| #define __has_cpp_attribute | ( | x | ) | 
Definition at line 147 of file common_defs.h.
| #define ADA_ASSERT_EQUAL | ( | LHS, | |
| RHS, | |||
| MESSAGE ) | 
Definition at line 204 of file common_defs.h.
Referenced by ada::url_aggregator::clear_hash(), and ada::url_aggregator::clear_search().
| #define ADA_ASSERT_TRUE | ( | COND | ) | 
Definition at line 211 of file common_defs.h.
Referenced by ada::url_pattern_helpers::url_pattern_parser< F >::add_part(), ada::url_pattern_helpers::Tokenizer::add_token(), ada::url_aggregator::clear_hash(), ada::url_aggregator::clear_port(), ada::url_aggregator::clear_search(), ada::url_pattern_helpers::Tokenizer::get_next_code_point(), ada::url_pattern< regex_provider >::match(), ada::parser::parse_url_impl(), ada::url_pattern_helpers::Tokenizer::process_tokenizing_error(), ada::url_aggregator::set_hash(), ada::url_aggregator::set_host(), ada::url_aggregator::set_hostname(), ada::url_aggregator::set_href(), ada::url_aggregator::set_password(), ada::url_aggregator::set_pathname(), ada::url_aggregator::set_port(), ada::url_aggregator::set_protocol(), ada::url_aggregator::set_search(), ada::url_aggregator::set_username(), and ada::url_pattern_helpers::url_pattern_parser< F >::try_consume_token().
| #define ADA_ASSUME | ( | COND | ) | 
Definition at line 228 of file common_defs.h.
| #define ADA_ATTRIBUTE_NOINLINE | 
Definition at line 153 of file common_defs.h.
| #define ADA_BEGIN_DEBUG_BLOCK | ( | name | ) | 
Definition at line 37 of file common_defs.h.
| #define ADA_DEBUG_BLOCK | ( | name, | |
| block ) | 
Definition at line 39 of file common_defs.h.
| #define ADA_DEVELOPMENT_CHECKS 1 | 
Definition at line 187 of file common_defs.h.
| #define ADA_DISABLE_DEPRECATED_WARNING ADA_DISABLE_GCC_WARNING("-Wdeprecated-declarations") | 
Definition at line 113 of file common_defs.h.
| #define ADA_DISABLE_GCC_WARNING | ( | WARNING | ) | 
Definition at line 105 of file common_defs.h.
| #define ADA_DISABLE_STRICT_OVERFLOW_WARNING ADA_DISABLE_GCC_WARNING("-Wstrict-overflow") | 
Definition at line 115 of file common_defs.h.
| #define ADA_DISABLE_UNDESIRED_WARNINGS | 
Definition at line 111 of file common_defs.h.
| #define ADA_DLLIMPORTEXPORT | 
Definition at line 133 of file common_defs.h.
| #define ADA_END_DEBUG_BLOCK | ( | name | ) | 
Definition at line 38 of file common_defs.h.
| #define ADA_FAIL | ( | MESSAGE | ) | 
Definition at line 199 of file common_defs.h.
| #define ADA_INCLUDE_URL_PATTERN 1 | 
Definition at line 266 of file common_defs.h.
| #define ADA_ISALIGNED_N | ( | ptr, | |
| n ) | 
Definition at line 46 of file common_defs.h.
| #define ada_lifetime_bound | 
Definition at line 255 of file common_defs.h.
Referenced by ada::url_aggregator::get_hash(), ada::url_pattern< regex_provider >::get_hash(), ada::url_aggregator::get_host(), ada::url_aggregator::get_hostname(), ada::url_pattern< regex_provider >::get_hostname(), ada::url_aggregator::get_href(), ada::url_aggregator::get_password(), ada::url_pattern< regex_provider >::get_password(), ada::url_aggregator::get_pathname(), ada::url_pattern< regex_provider >::get_pathname(), ada::url_aggregator::get_port(), ada::url_pattern< regex_provider >::get_port(), ada::url_aggregator::get_protocol(), ada::url_pattern< regex_provider >::get_protocol(), ada::url_aggregator::get_search(), ada::url_pattern< regex_provider >::get_search(), ada::url_aggregator::get_username(), ada::url_pattern< regex_provider >::get_username(), ada::url_pattern< regex_provider >::url_pattern(), and ada::url_aggregator::~url_aggregator().
| #define ada_never_inline inline __attribute__((noinline)) | 
Definition at line 82 of file common_defs.h.
| #define ADA_POP_DISABLE_WARNINGS _Pragma("GCC diagnostic pop") | 
Definition at line 117 of file common_defs.h.
| #define ADA_PRAGMA | ( | P | ) | 
Definition at line 104 of file common_defs.h.
| #define ADA_PUSH_DISABLE_ALL_WARNINGS | 
Definition at line 90 of file common_defs.h.
| #define ADA_PUSH_DISABLE_WARNINGS _Pragma("GCC diagnostic push") | 
Definition at line 87 of file common_defs.h.
| #define ada_really_inline inline __attribute__((always_inline)) | 
Definition at line 81 of file common_defs.h.
Referenced by ada::character_sets::bit_at(), ada::helpers::find_next_host_delimiter(), ada::helpers::find_next_host_delimiter_special(), ada::url::get_components(), ada::url::get_href(), ada::url::has_credentials(), ada::url::has_port(), ada::url_base::has_valid_domain(), ada::url_base::is_special(), ada::url_base::parse_port(), ada::unicode::percent_encode_index(), ada::helpers::trailing_zeroes(), and ada::url_aggregator::~url_aggregator().
| #define ADA_REQUIRE | ( | EXPR | ) | 
Definition at line 195 of file common_defs.h.
| #define ADA_ROUNDDOWN_N | ( | a, | |
| n ) | 
Definition at line 44 of file common_defs.h.
| #define ADA_ROUNDUP_N | ( | a, | |
| n ) | 
Definition at line 43 of file common_defs.h.
| #define ADA_STR | ( | x | ) | 
Definition at line 192 of file common_defs.h.
| #define ADA_TRY | ( | EXPR | ) | 
If EXPR is an error, returns it.
Definition at line 137 of file common_defs.h.
| #define ada_unused __attribute__((unused)) | 
Definition at line 84 of file common_defs.h.
Referenced by ada::helpers::get_state().
| #define ada_warn_unused __attribute__((warn_unused_result)) | 
Definition at line 85 of file common_defs.h.
Referenced by ada::parse(), ada::parse< url_aggregator >(), ada::to_string(), and ada::to_string().