You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yaml-cpp/include/yaml-cpp
Henner Zeller 89ff142b99 Add IWYU export pragmas.
If a project is using the facade-header yaml-cpp/yaml.h it might
get `misc-include-cleaner` warnings from the `clangd` language server
and `clang-tidy` that this header is not providing directly the symbols used.

The annotation with IWYU pragmas fixes that and tells the tools that it should consider
all the includes as if they directly provided the symbol

Documentation clangd and clang-tidy
https://clang.llvm.org/extra/clang-tidy/checks/misc/include-cleaner.html points to
https://clangd.llvm.org/design/include-cleaner#iwyu-pragmas

This has been first implemented and docuemnted in the include-what-you-use project
https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md#iwyu-pragma-begin_exportsend_exports

Signed-off-by: Henner Zeller <h.zeller@acm.org>
6 days ago
..
contrib patch: move dragonbox.h from 'include' folder to 'src' folder 1 year ago
node Use std::locale::classic() instead of creating new C locales on demand. 4 months ago
anchor.h Modernize: Use "using" instead of "typedef" (#754) 6 years ago
binary.h Static analysis fix: replace 0 and NULL with nullptr (#738) 6 years ago
depthguard.h Fix stack overflow (#807) 6 years ago
dll.h Remove build debug messages 1 year ago
emitfromevents.h Add default destructor to EmitFromEvents 2 years ago
emitter.h Use std::locale::classic() instead of creating new C locales on demand. 4 months ago
emitterdef.h Renamed the None enumeration vaules to NoType to avoid a collision with X11's macro 11 years ago
emittermanip.h Add support for JSON-compatible string escapes (#485) 6 years ago
emitterstyle.h fix compile warning(Pull requests #1305)(Issues #1306) 1 year ago
eventhandler.h Modernize: Use "default" for destructors and copy constructors (#751) 6 years ago
exceptions.h fix(src,include,test): fixed multiple cases where a bad yaml was accepted. 1 year ago
fptostring.h remove reduntant license information 1 year ago
mark.h More useful error messages. 11 years ago
noexcept.h Move the YAML_CPP_NOEXCEPT macro to include/yaml-cpp/noexcept.h (#813) 6 years ago
null.h emitter: Support std::string_view 1 year ago
ostream_wrapper.h Static analysis fix: replace 0 and NULL with nullptr (#738) 6 years ago
parser.h Disallow moving for the Parser. 7 years ago
stlemitter.h Fix compilation for Qt-projects (#918) 6 years ago
traits.h Use std::locale::classic() instead of creating new C locales on demand. 4 months ago
yaml.h Add IWYU export pragmas. 6 days ago