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-24 01:31:46 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
3f0d7bc2c495bdf2a42e8d49e4ebb92c6fea18ce
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: 52ms Template: 1ms
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