Logo
Explore Help
Register Sign In
Team2890/allwpilib
4
0
Fork 0
You've already forked allwpilib
mirror of https://github.com/wpilibsuite/allwpilib synced 2026-06-26 01:51:41 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
de3e211fdb7aa05ab036859a7f3c9917ea64a4fc
allwpilib/wpiannotations/wpiannotations-config.cmake

3 lines
109 B
CMake
Raw Normal View History

Add javac plugin for detecting common error cases at compile time (#8196) Adds a `@NoDiscard` annotation that can be placed on methods to guarantee their return values are used and on types to guarantee that any method returning that type uses the return value. Methods that call `@NoDiscard`-annotated functions can add a `@SuppressWarnings("NoDiscard")` or `@SuppressWarnings("all")` annotation (or annotation on the class declaring that method) to silence the compiler error warnings.
2025-10-03 20:42:47 -04:00
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${SELF_DIR}/wpiannotations.cmake)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 141ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API