From 4251b4c8de7c70857d48695af3c957c0a62cb0e0 Mon Sep 17 00:00:00 2001 From: Peter Edberg Date: Wed, 30 May 2018 22:45:26 +0000 Subject: [PATCH] ICU-13667 ICU 62rc BRS, update guard conditionals for non-stable API part 2 (common,io pass 1) X-SVN-Rev: 41491 --- icu4c/source/common/unicode/brkiter.h | 2 +- icu4c/source/common/unicode/bytestriebuilder.h | 2 +- icu4c/source/common/unicode/caniter.h | 4 ++-- icu4c/source/common/unicode/edits.h | 2 ++ icu4c/source/common/unicode/rbbi.h | 12 ++++++------ icu4c/source/common/unicode/utypes.h | 2 ++ 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/icu4c/source/common/unicode/brkiter.h b/icu4c/source/common/unicode/brkiter.h index 607f3ec625a..5faeedfa93e 100644 --- a/icu4c/source/common/unicode/brkiter.h +++ b/icu4c/source/common/unicode/brkiter.h @@ -638,7 +638,7 @@ protected: private: - /** @internal */ + /** @internal (private) */ char actualLocale[ULOC_FULLNAME_CAPACITY]; char validLocale[ULOC_FULLNAME_CAPACITY]; }; diff --git a/icu4c/source/common/unicode/bytestriebuilder.h b/icu4c/source/common/unicode/bytestriebuilder.h index 97814fcc6af..2a1f28e6255 100644 --- a/icu4c/source/common/unicode/bytestriebuilder.h +++ b/icu4c/source/common/unicode/bytestriebuilder.h @@ -143,7 +143,7 @@ private: virtual int32_t getMaxLinearMatchLength() const { return BytesTrie::kMaxLinearMatchLength; } /** - * @internal + * @internal (private) */ class BTLinearMatchNode : public LinearMatchNode { public: diff --git a/icu4c/source/common/unicode/caniter.h b/icu4c/source/common/unicode/caniter.h index 5a882fb3fb8..9b21ba52d89 100644 --- a/icu4c/source/common/unicode/caniter.h +++ b/icu4c/source/common/unicode/caniter.h @@ -153,13 +153,13 @@ private: /** * Copy constructor. Private for now. - * @internal + * @internal (private) */ CanonicalIterator(const CanonicalIterator& other); /** * Assignment operator. Private for now. - * @internal + * @internal (private) */ CanonicalIterator& operator=(const CanonicalIterator& other); diff --git a/icu4c/source/common/unicode/edits.h b/icu4c/source/common/unicode/edits.h index f69cd8db366..f767a8d3b49 100644 --- a/icu4c/source/common/unicode/edits.h +++ b/icu4c/source/common/unicode/edits.h @@ -392,12 +392,14 @@ public: */ int32_t destinationIndex() const { return destIndex; } +#ifndef U_HIDE_INTERNAL_API /** * A string representation of the current edit represented by the iterator for debugging. You * should not depend on the contents of the return string. * @internal */ UnicodeString& toString(UnicodeString& appendTo) const; +#endif // U_HIDE_INTERNAL_API private: friend class Edits; diff --git a/icu4c/source/common/unicode/rbbi.h b/icu4c/source/common/unicode/rbbi.h index e43dafc603d..e9b82cd5207 100644 --- a/icu4c/source/common/unicode/rbbi.h +++ b/icu4c/source/common/unicode/rbbi.h @@ -55,7 +55,7 @@ class U_COMMON_API RuleBasedBreakIterator /*U_FINAL*/ : public BreakIterator { private: /** * The UText through which this BreakIterator accesses the text - * @internal + * @internal (private) */ UText fText; @@ -621,13 +621,13 @@ private: /** * Dumps caches and performs other actions associated with a complete change * in text or iteration position. - * @internal + * @internal (private) */ void reset(void); /** * Common initialization function, used by constructors and bufferClone. - * @internal + * @internal (private) */ void init(UErrorCode &status); @@ -638,7 +638,7 @@ private: * will operate correctly. A Safe Position is not necessarily a boundary itself. * * @param fromPosition the position in the input text to begin the iteration. - * @internal + * @internal (private) */ int32_t handleSafePrevious(int32_t fromPosition); @@ -652,7 +652,7 @@ private: * If > 0, the segment will be further subdivided * fRuleStatusIndex Info from the state table indicating which rules caused the boundary. * - * @internal + * @internal (private) */ int32_t handleNext(); @@ -661,7 +661,7 @@ private: * This function returns the appropriate LanguageBreakEngine for a * given character c. * @param c A character in the dictionary set - * @internal + * @internal (private) */ const LanguageBreakEngine *getLanguageBreakEngine(UChar32 c); diff --git a/icu4c/source/common/unicode/utypes.h b/icu4c/source/common/unicode/utypes.h index af700d53f8e..bc5f77299e8 100644 --- a/icu4c/source/common/unicode/utypes.h +++ b/icu4c/source/common/unicode/utypes.h @@ -541,6 +541,8 @@ typedef enum UErrorCode { U_FORMAT_INEXACT_ERROR, /**< Cannot format a number exactly and rounding mode is ROUND_UNNECESSARY @stable ICU 4.8 */ #ifndef U_HIDE_DRAFT_API U_NUMBER_ARG_OUTOFBOUNDS_ERROR, /**< The argument to a NumberFormatter helper method was out of bounds; the bounds are usually 0 to 999. @draft ICU 61 */ +#endif // U_HIDE_DRAFT_API +#ifndef U_HIDE_DRAFT_API U_NUMBER_SKELETON_SYNTAX_ERROR, /**< The number skeleton passed to C++ NumberFormatter or C UNumberFormatter was invalid or contained a syntax error. @draft ICU 62 */ #endif // U_HIDE_DRAFT_API #ifndef U_HIDE_DEPRECATED_API