[Ada] Simplify Is_Loop_Pragma
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 7 Oct 2020 20:12:45 +0000 (22:12 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 24 Nov 2020 10:16:05 +0000 (05:16 -0500)
commit45ce2307851e8e7fc653137253c8782f734c5697
tree116d25e04056d7645f9eb43523468500dae2ce67
parent428b1317a5a94d5a99bdc617bac908cf8a10af25
[Ada] Simplify Is_Loop_Pragma

gcc/ada/

* sem_prag.adb (Is_Loop_Pragma): Avoid repeated calls to
Original_Node; remove unnecessary IF statement.
gcc/ada/sem_prag.adb