]> granicus.if.org Git - icu/commitdiff
ICU-21581 check non-stable API macros (mostly U_HIDE_INTERNAL_API)
authorPeter Edberg <pedberg@unicode.org>
Wed, 29 Sep 2021 05:22:18 +0000 (22:22 -0700)
committerPeter Edberg <42151464+pedberg-icu@users.noreply.github.com>
Wed, 29 Sep 2021 16:05:40 +0000 (09:05 -0700)
icu4c/source/common/unicode/uloc.h
icu4c/source/i18n/unicode/alphaindex.h
icu4c/source/i18n/unicode/dcfmtsym.h
icu4c/source/i18n/unicode/measunit.h
icu4c/source/i18n/unicode/numberrangeformatter.h
icu4c/source/i18n/unicode/unumberrangeformatter.h

index 3addb847e7fe6f822ac325314ae2214d18af035e..b0bdbe1b87f48f8c0b789a49e9570488a63bdde5 100644 (file)
@@ -841,7 +841,7 @@ typedef enum ULocAvailableType {
    * @internal
    */
   ULOC_AVAILABLE_COUNT
-#endif
+#endif  /* U_HIDE_INTERNAL_API */
 } ULocAvailableType;
 
 /**
index 7ece138da4e92be026d350b5cd081e4ac9402fba..d0cdd817fba64ee18646fea9f29dbc85e292106d 100644 (file)
@@ -647,7 +647,7 @@ public:
 private:
      /**
       * No Copy constructor.
-      * @internal
+      * @internal (private)
       */
      AlphabeticIndex(const AlphabeticIndex &other);
 
@@ -658,13 +658,13 @@ private:
 
     /**
      * No Equality operators.
-     * @internal
+     * @internal (private)
      */
      virtual bool operator==(const AlphabeticIndex& other) const;
 
     /**
      * Inequality operator.
-     * @internal
+     * @internal (private)
      */
      virtual bool operator!=(const AlphabeticIndex& other) const;
 
@@ -723,7 +723,7 @@ private:
     /**
      * Holds all user records before they are distributed into buckets.
      * Type of contents is (Record *)
-     * @internal
+     * @internal (private)
      */
     UVector  *inputList_;
 
index 3b1535dd16d525ef3cb7f2e097ac96062737516f..20a6aae13b26875337ddcdde4a47f0ff12bebfd8 100644 (file)
@@ -174,7 +174,7 @@ public:
          * @internal
          */
         kApproximatelySignSymbol,
-#endif
+#endif  /* U_HIDE_INTERNAL_API */
         /** count symbol constants */
         kFormatSymbolCount = kExponentMultiplicationSymbol + 2
     };
index d0b70212fcbd038eb4631f28b8eadc833e0c47ee..61da62e71f2271dad3296e29ef33cae5319dddd3 100644 (file)
@@ -107,12 +107,14 @@ typedef enum UMeasurePrefix {
      */
     UMEASURE_PREFIX_YOTTA = UMEASURE_PREFIX_ONE + 24,
 
+#ifndef U_HIDE_INTERNAL_API
     /**
      * ICU use only.
      * Used to determine the set of base-10 SI prefixes.
      * @internal
      */
     UMEASURE_PREFIX_INTERNAL_MAX_SI = UMEASURE_PREFIX_YOTTA,
+#endif  /* U_HIDE_INTERNAL_API */
 
     /**
      * SI prefix: zetta, 10^21.
index 00cfa234558462e78e36c0675bd4ca82fb8dde2b..363f7d48cfe169c139d5c1f32403896000f9ca6e 100644 (file)
@@ -648,7 +648,7 @@ class U_I18N_API FormattedNumberRange : public UMemory, public FormattedValue {
      */
     FormattedNumberRange()
         : fData(nullptr), fErrorCode(U_INVALID_STATE_ERROR) {}
-#endif
+#endif  /* U_HIDE_DRAFT_API */
 
     /**
      * Copying not supported; use move constructor instead.
index e16849b761c7525ee6456313bdad243ed3cd6fae..4e92fe29e250599bf8b828f108f7ba7c159ee6aa 100644 (file)
@@ -193,7 +193,7 @@ typedef enum UNumberRangeIdentityResult {
      * @internal
      */
     UNUM_IDENTITY_RESULT_COUNT
-#endif
+#endif  /* U_HIDE_INTERNAL_API */
 
 } UNumberRangeIdentityResult;