• Home
  • Raw
  • Download

Lines Matching +full:no +full:- +full:fallthrough

7 //      https://www.apache.org/licenses/LICENSE-2.0
27 // https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Function-Attributes.html
28 // https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Variable-Attributes.html
29 // https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Type-Attributes.html
43 // A function-like feature checking macro that is a wrapper around
49 // GCC: https://gcc.gnu.org/gcc-5/changes.html
59 // A function-like feature checking macro that accepts C++11 style attributes.
60 // It's a wrapper around `__has_cpp_attribute`, defined by ISO C++ SD-6
71 // -----------------------------------------------------------------------------
73 // -----------------------------------------------------------------------------
75 // GCC: https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
83 // <https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Function-Attributes.html>.
85 // Note: As the GCC manual states, "[s]ince non-static C++ methods
127 __attribute__((optimize("no-optimize-sibling-calls")))
155 // should be a non-null pointer, or (b) that all pointer arguments should
156 // be non-null.
158 // Note: As the GCC manual states, "[s]ince non-static C++ methods
164 // For non-static class member functions, the implicit `this` argument
166 // functions, there is no implicit `this`, and the first explicit argument is
183 // If no arguments are provided, then all pointer arguments should be non-null.
185 // /* No pointer arguments may be null. */
214 // https://gcc.gnu.org/gcc-4.8/changes.html
227 // above, but deals with initialized-ness rather than addressability issues.
239 // https://gcc.gnu.org/gcc-4.8/changes.html
251 // https://gcc.gnu.org/gcc-4.9/changes.html
278 __attribute__((no_sanitize("safe-stack")))
335 // a no-op on ELF but not on Mach-O.
351 // Returns 0 if no such functions exist.
377 // Support for aligning the stack on 32-bit x86.
421 // ABSL_MUST_USE_RESULT allows using cast-to-void to suppress the unused result
438 // is likely to be not-taken.
473 // * The file/target is built with the -fxray-instrument flag set for the
480 // particular build using special-case lists provided to the compiler. These
482 // -fxray-always-instrument=... and -fxray-never-instrument=... flags. The
483 // attributes in source take precedence over these special-case lists.
485 // To disable the XRay attributes at build-time, users may define
488 // link-time.
513 // The clang-tidy check bugprone-use-after-move allows member functions marked
515 // without the attribute, this would result in a use-after-move warning.
522 // -----------------------------------------------------------------------------
524 // -----------------------------------------------------------------------------
538 // Tells the compiler to use "initial-exec" mode for a thread-local variable.
541 #define ABSL_ATTRIBUTE_INITIAL_EXEC __attribute__((tls_model("initial-exec")))
552 // entirety to optimize the memory footprint of very commonly-used structs is
559 // member accesses are faster than non-aligned member accesses even if the
560 // targeted microprocessor supports non-aligned accesses.
579 // Annotates implicit fall-through between switch labels, allowing a case to
580 // indicate intentional fallthrough and turn off warnings about any lack of a
583 // no statements exist between it and the next switch label.
601 // macro is expanded to the [[clang::fallthrough]] attribute, which is analysed
602 // when performing switch labels fall-through diagnostic
603 // (`-Wimplicit-fallthrough`). See clang documentation on language extensions
605 // https://clang.llvm.org/docs/AttributeReference.html#fallthrough-clang-fallthrough
608 // has no effect on diagnostics. In any case this macro has no effect on runtime
614 // TODO(zhangxy): Use c++17 standard [[fallthrough]] macro, when supported.
616 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
617 #define ABSL_FALLTHROUGH_INTENDED [[clang::fallthrough]]
620 #define ABSL_FALLTHROUGH_INTENDED [[gnu::fallthrough]]
646 // clang's `-Wdeprecated-declarations` option. This option is turned off by
647 // default, but the warnings will be reported by clang-tidy.
661 // duration, because it guarantees that they will not suffer from the so-called