aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/namet.h
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-10-27 12:53:08 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2015-10-27 12:53:08 +0100
commit7f54dc834806d508cef6a77a24d9308fd54cf196 (patch)
treeac137321c5bd0bf31fbe615f3701e547de1b7c3a /gcc/ada/namet.h
parent7317ef4ae5bd8ad06f37a8101d21c05b30a04a66 (diff)
downloadgcc-7f54dc834806d508cef6a77a24d9308fd54cf196.zip
gcc-7f54dc834806d508cef6a77a24d9308fd54cf196.tar.gz
gcc-7f54dc834806d508cef6a77a24d9308fd54cf196.tar.bz2
[multiple changes]
2015-10-27 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Analyze_Allocator): Do not perform legality check on allocators for limited objects in a qualified expression, because expression has not been resolved. * sem_res.adb (Resolve_Allocator): Perform check on legality of limited objects after resolution. Add sem_ch3.adb to context. 2015-10-27 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Refined_Global_In_Decl_Part): Add variable States. (Check_Refined_Global_Item): An object or state acts as a constituent only when the corresponding encapsulating state appears in pragma Global. (Collect_Global_Item): Add a state with non-null visible refinement to list States. 2015-10-27 Gary Dismukes <dismukes@adacore.com> * sem_util.ads, par.adb, sem_ch6.adb: Minor reformatting and a few typo corrections. 2015-10-27 Pierre-Marie de Rodat <derodat@adacore.com> * namet.ads, namet.adb (Name_Equals): New function. * namet.h (Name_Equals): New macro. 2015-10-27 Arnaud Charlet <charlet@adacore.com> * exp_ch6.adb (Build_Procedure_Form): Use 'RESULT' for the extra parameter, to avoid ambiguity when generating tmps using _xxx which might end up reusing _result. From-SVN: r229424
Diffstat (limited to 'gcc/ada/namet.h')
-rw-r--r--gcc/ada/namet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/namet.h b/gcc/ada/namet.h
index 1ca589b..82af02d 100644
--- a/gcc/ada/namet.h
+++ b/gcc/ada/namet.h
@@ -6,7 +6,7 @@
* *
* C Header File *
* *
- * Copyright (C) 1992-2014, Free Software Foundation, Inc. *
+ * Copyright (C) 1992-2015, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@@ -88,6 +88,9 @@ Get_Decoded_Name_String (Name_Id Id)
return Name_Buffer;
}
+#define Name_Equals namet__name_equals
+extern Boolean Name_Equals (Name_Id, Name_Id);
+
/* Like Get_Decoded_Name_String, but the result has all qualification and
package body entity suffixes stripped, and also all letters are upper
cased. This is used for building the enumeration literal table. */