From: Ronan Desplanques Date: Fri, 17 Feb 2023 15:00:33 +0000 (+0100) Subject: ada: Add mention of what LSP stands for X-Git-Tag: basepoints/gcc-15~9040 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65d2481a4f90f9f2af8b636105d934b2cefa1009;p=thirdparty%2Fgcc.git ada: Add mention of what LSP stands for There are multiple possible interpretations of "LSP". For example, "Language Server Protocol". This patch clarifies that the occurrences of "LSP" in GNAT's source code refer to the Liskov Substitution Principle. gcc/ada/ * einfo.ads: Mention full name of LSP. --- diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads index 0cc4b495bd90..d346eddac57c 100644 --- a/gcc/ada/einfo.ads +++ b/gcc/ada/einfo.ads @@ -4786,7 +4786,8 @@ package Einfo is -- Defined in subprogram entities. Set on wrappers created to handle -- inherited class-wide pre/post conditions that call overridden -- primitives. It references the parent primitive that has the --- class-wide pre/post conditions. +-- class-wide pre/post conditions. LSP stands for Liskov Substitution +-- Principle. --------------------------- -- Renaming and Aliasing --