ICU-22621 Clang-Tidy: modernize-concat-nested-namespaces

https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/concat-nested-namespaces.html
This commit is contained in:
Fredrik Roubert 2024-03-12 15:34:51 +01:00 committed by Fredrik Roubert
parent 00072801a5
commit 1a4fc9b009
44 changed files with 111 additions and 208 deletions

View file

@ -25,11 +25,9 @@
U_NAMESPACE_BEGIN
// Forward declaration:
namespace number {
namespace impl {
namespace number::impl {
class SimpleModifier;
}
}
/**
* Formats simple patterns like "{1} was born in {0}".

View file

@ -47,9 +47,7 @@
// ICU PATCH: Wrap in ICU namespace
U_NAMESPACE_BEGIN
namespace double_conversion {
namespace PowersOfTenCache {
namespace double_conversion::PowersOfTenCache {
struct CachedPower {
uint64_t significand;
@ -184,9 +182,7 @@ void GetCachedPowerForDecimalExponent(int requested_exponent,
DOUBLE_CONVERSION_ASSERT(requested_exponent < *found_exponent + kDecimalExponentDistance);
}
} // namespace PowersOfTenCache
} // namespace double_conversion
} // namespace double_conversion::PowersOfTenCache
// ICU PATCH: Close ICU namespace
U_NAMESPACE_END

View file

@ -44,9 +44,7 @@
// ICU PATCH: Wrap in ICU namespace
U_NAMESPACE_BEGIN
namespace double_conversion {
namespace PowersOfTenCache {
namespace double_conversion::PowersOfTenCache {
// Not all powers of ten are cached. The decimal exponent of two neighboring
// cached numbers will differ by kDecimalExponentDistance.
@ -71,9 +69,7 @@ namespace PowersOfTenCache {
DiyFp* power,
int* found_exponent);
} // namespace PowersOfTenCache
} // namespace double_conversion
} // namespace double_conversion::PowersOfTenCache
// ICU PATCH: Close ICU namespace
U_NAMESPACE_END

View file

@ -14,11 +14,9 @@
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
class LongNameHandler;
}
} // namespace number
static const char16_t kDefaultCurrency[] = u"XXX";
static const char kDefaultCurrency8[] = "XXX";

View file

@ -14,8 +14,8 @@
#include "formatted_string_builder.h"
#include "unicode/uniset.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
enum AffixPatternState {
STATE_BASE = 0,
@ -234,8 +234,7 @@ class U_I18N_API AffixUtils {
}
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -18,8 +18,8 @@
#include "decNumber.h"
#include "charstr.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
/**
* A wrapper around LocalizedNumberFormatter implementing the Format interface, enabling improved
@ -97,8 +97,7 @@ class U_I18N_API LocalizedNumberFormatterAsFormat : public Format {
Locale fLocale;
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif // __NUMBER_ASFORMAT_H__

View file

@ -25,8 +25,7 @@ using namespace icu::number::impl;
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
/**
* Implementation class for UNumberFormatter. Wraps a LocalizedNumberFormatter.
@ -84,8 +83,7 @@ void UFormattedNumberImpl::setTo(FormattedNumber value) {
fData = std::move(*value.fData);
}
}
}
} // namespace number::impl
U_NAMESPACE_END

View file

@ -14,8 +14,8 @@
#include "resource.h"
#include "number_patternmodifier.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
static const int32_t COMPACT_MAX_DIGITS = 20;
@ -90,9 +90,7 @@ class CompactHandler : public MicroPropsGenerator, public UMemory {
void precomputeAllModifiers(MutablePatternModifier &buildReference, UErrorCode &status);
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__NUMBER_COMPACT_H__

View file

@ -11,9 +11,8 @@
#include "charstr.h"
#include "number_decimfmtprops.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
// Exported as U_I18N_API for tests
class U_I18N_API CurrencySymbols : public UMemory {
@ -62,9 +61,7 @@ class U_I18N_API CurrencySymbols : public UMemory {
CurrencyUnit
resolveCurrency(const DecimalFormatProperties& properties, const Locale& locale, UErrorCode& status);
} // namespace impl
} // namespace numparse
} // namespace number::impl
U_NAMESPACE_END
#endif //__SOURCE_NUMBER_CURRENCYSYMBOLS_H__

View file

@ -13,8 +13,8 @@
#include "plurrule_impl.h"
#include "number_types.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
// Forward-declare (maybe don't want number_utils.h included here):
class DecNum;
@ -549,8 +549,7 @@ class U_I18N_API DecimalQuantity : public IFixedDecimal, public UMemory {
void switchStorage();
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -33,8 +33,7 @@ template class U_I18N_API LocalPointer<CurrencyPluralInfo>;
#endif
#endif
namespace number {
namespace impl {
namespace number::impl {
// Exported as U_I18N_API because it is a public member field of exported DecimalFormatProperties
// Using this wrapper is rather unfortunate, but is needed on Windows platforms in order to allow
@ -166,8 +165,8 @@ struct U_I18N_API DecimalFormatProperties : public UMemory {
bool _equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) const;
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -22,8 +22,7 @@ U_NAMESPACE_BEGIN
template class U_I18N_API MaybeStackHeaderAndArray<decNumber, char, DECNUM_INITIAL_CAPACITY>;
#endif
namespace number {
namespace impl {
namespace number::impl {
/** A very thin C++ wrapper around decNumber.h */
// Exported as U_I18N_API for tests
@ -84,8 +83,7 @@ class U_I18N_API DecNum : public UMemory {
void _setTo(const char* str, int32_t maxDigits, UErrorCode& status);
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -18,8 +18,8 @@
#include "number_microprops.h"
#include "number_utypes.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
/**
* This is the "brain" of the number formatting pipeline. It ties all the pieces together, taking in a MacroProps and a
@ -170,8 +170,7 @@ class NumberFormatterImpl : public UMemory {
UErrorCode &status);
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -13,8 +13,8 @@
#include "number_utils.h"
#include "number_modifiers.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
// LongNameHandler takes care of formatting currency and measurement unit names,
// as well as populating the gender of measure units.
@ -263,8 +263,7 @@ class LongNameMultiplexer : public MicroPropsGenerator, public UMemory {
}
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__NUMBER_LONGNAMES_H__

View file

@ -16,9 +16,7 @@
#include "numparse_impl.h"
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
class AutoAffixPatternProvider;
class CurrencyPluralInfoAffixProvider;
@ -257,9 +255,7 @@ class NumberPropertyMapper {
DecimalFormatProperties* exportedProperties, UErrorCode& status);
};
} // namespace impl
} // namespace numparse
} // namespace number::impl
U_NAMESPACE_END
#endif //__NUMBER_MAPPER_H__

View file

@ -20,8 +20,8 @@
#include "charstr.h"
#include "util.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
/**
* A copyable container for the integer values of mixed unit measurements.
@ -188,8 +188,7 @@ struct MicroProps : public MicroPropsGenerator {
bool exhausted = false;
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif // __NUMBER_MICROPROPS_H__

View file

@ -15,8 +15,8 @@
#include "formatted_string_builder.h"
#include "number_types.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
/**
* The canonical implementation of {@link Modifier}, containing a prefix and suffix string.
@ -350,8 +350,7 @@ class U_I18N_API AdoptingModifierStore : public ModifierStore, public UMemory {
AdoptingSignumModifierStore mods[StandardPlural::COUNT] = {};
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -10,9 +10,8 @@
#include "numparse_types.h"
#include "number_decimfmtprops.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
/**
* Wraps a {@link Multiplier} for use in the number formatting pipeline.
@ -48,9 +47,7 @@ static inline Scale scaleFromProperties(const DecimalFormatProperties& propertie
}
}
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__SOURCE_NUMBER_MULTIPLIER_H__

View file

@ -33,8 +33,7 @@ template class U_I18N_API LocalPointer<number::impl::AdoptingModifierStore>;
#endif
#endif
namespace number {
namespace impl {
namespace number::impl {
// Forward declaration
class MutablePatternModifier;
@ -255,9 +254,8 @@ class U_I18N_API MutablePatternModifier
void prepareAffix(bool isPrefix);
};
} // namespace number::impl
} // namespace impl
} // namespace number
U_NAMESPACE_END
#endif //__NUMBER_PATTERNMODIFIER_H__

View file

@ -16,8 +16,8 @@
#include "number_decimfmtprops.h"
#include "number_affixutils.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
// Forward declaration
class PatternParser;
@ -330,8 +330,7 @@ class U_I18N_API PatternStringUtils {
UErrorCode& status);
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -11,8 +11,7 @@
#include "string_segment.h"
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
namespace roundingutils {
enum Section {
@ -238,8 +237,7 @@ class RoundingImpl {
*/
void parseIncrementOption(const StringSegment &segment, Precision &outPrecision, UErrorCode &status);
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__NUMBER_ROUNDINGUTILS_H__

View file

@ -9,8 +9,8 @@
#include "number_types.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
// Forward-declare
class ScientificHandler;
@ -59,8 +59,7 @@ class ScientificHandler : public UMemory, public MicroPropsGenerator, public Mul
friend class ScientificModifier;
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__NUMBER_SCIENTIFIC_H__

View file

@ -13,8 +13,7 @@
#include "string_segment.h"
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
// Forward-declaration
struct SeenMacroProps;
@ -385,8 +384,7 @@ UPRV_BLOCK_MACRO_BEGIN { \
} // namespace
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__SOURCE_NUMBER_SKELETONS_H__

View file

@ -20,8 +20,7 @@
#include "formatted_string_builder.h"
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
// For convenience and historical reasons, import the Field typedef to the namespace.
typedef FormattedStringBuilder::Field Field;
@ -369,9 +368,7 @@ class U_I18N_API NullableValue {
T fValue;
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__NUMBER_TYPES_H__

View file

@ -23,8 +23,7 @@ U_NAMESPACE_BEGIN
using ::icu::units::ComplexUnitsConverter;
using ::icu::units::UnitsRouter;
namespace number {
namespace impl {
namespace number::impl {
/**
* A MicroPropsGenerator which uses UnitsRouter to produce output converted to a
@ -62,8 +61,7 @@ class U_I18N_API UsagePrefsHandler : public MicroPropsGenerator, public UMemory
const MicroPropsGenerator *fParent;
};
} // namespace impl
} // namespace number
} // namespace number::impl
// Export explicit template instantiations of LocalPointerBase and LocalPointer.
// This is required when building DLLs for Windows. (See datefmt.h,
@ -84,8 +82,7 @@ template class U_I18N_API LocalPointer<ComplexUnitsConverter>;
#endif
#endif
namespace number {
namespace impl {
namespace number::impl {
/**
* A MicroPropsGenerator which converts a measurement from one MeasureUnit to
@ -118,8 +115,8 @@ class U_I18N_API UnitConversionHandler : public MicroPropsGenerator, public UMem
const MicroPropsGenerator *fParent;
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif // __NUMBER_USAGEPREFS_H__

View file

@ -21,8 +21,7 @@
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
enum CldrPatternStyle {
CLDR_PATTERN_STYLE_DECIMAL,
@ -102,8 +101,7 @@ inline StandardPlural::Form getPluralSafe(
} // namespace utils
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -13,9 +13,8 @@
#include "formatted_string_builder.h"
#include "formattedval_impl.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
/** Helper function used in upluralrules.cpp */
const DecimalQuantity* validateUFormattedNumberToDecimalQuantity(
@ -50,9 +49,7 @@ public:
const char *gender = "";
};
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__SOURCE_NUMBER_UTYPES_H__

View file

@ -16,8 +16,8 @@
#include "number_currencysymbols.h"
U_NAMESPACE_BEGIN
namespace numparse {
namespace impl {
namespace numparse::impl {
// Forward-declaration of implementation classes for friending
class AffixPatternMatcherBuilder;
@ -44,8 +44,7 @@ class U_I18N_API CodePointMatcher : public NumberParseMatcher, public UMemory {
UChar32 fCp;
};
} // namespace impl
} // namespace numparse
} // namespace numparse::impl
// Export a explicit template instantiations of MaybeStackArray, MemoryPool and CompactUnicodeString.
// When building DLLs for Windows this is required even though no direct access leaks out of the i18n library.
@ -58,8 +57,7 @@ template class U_I18N_API MemoryPool<numparse::impl::CodePointMatcher, 8>;
template class U_I18N_API numparse::impl::CompactUnicodeString<4>;
#endif
namespace numparse {
namespace impl {
namespace numparse::impl {
struct AffixTokenMatcherSetupData {
const CurrencySymbols& currencySymbols;
@ -221,9 +219,8 @@ class AffixMatcherWarehouse {
parse_flags_t parseFlags, UErrorCode& status);
};
} // namespace numparse::impl
} // namespace impl
} // namespace numparse
U_NAMESPACE_END
#endif //__NUMPARSE_AFFIXES_H__

View file

@ -18,8 +18,7 @@ U_NAMESPACE_BEGIN
template class U_I18N_API MaybeStackArray<const numparse::impl::NumberParseMatcher*, 3>;
#endif
namespace numparse {
namespace impl {
namespace numparse::impl {
/**
* Base class for AnyMatcher and SeriesMatcher.
@ -115,9 +114,8 @@ class U_I18N_API ArraySeriesMatcher : public SeriesMatcher {
int32_t fMatchersLen;
};
} // namespace numparse::impl
} // namespace impl
} // namespace numparse
U_NAMESPACE_END
#endif //__SOURCE_NUMPARSE_COMPOSITIONS__

View file

@ -13,8 +13,8 @@
#include "number_currencysymbols.h"
#include "unicode/uniset.h"
U_NAMESPACE_BEGIN namespace numparse {
namespace impl {
U_NAMESPACE_BEGIN
namespace numparse::impl {
using ::icu::number::impl::CurrencySymbols;
@ -65,9 +65,7 @@ class U_I18N_API CombinedCurrencyMatcher : public NumberParseMatcher, public UMe
bool matchCurrency(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const;
};
} // namespace impl
} // namespace numparse
} // namespace numparse::impl
U_NAMESPACE_END
#endif //__NUMPARSE_CURRENCY_H__

View file

@ -10,8 +10,8 @@
#include "unicode/uniset.h"
#include "numparse_types.h"
U_NAMESPACE_BEGIN namespace numparse {
namespace impl {
U_NAMESPACE_BEGIN
namespace numparse::impl {
using ::icu::number::impl::Grouper;
@ -67,9 +67,7 @@ class DecimalMatcher : public NumberParseMatcher, public UMemory {
bool validateGroup(int32_t sepType, int32_t count, bool isPrimary) const;
};
} // namespace impl
} // namespace numparse
} // namespace numparse::impl
U_NAMESPACE_END
#endif //__NUMPARSE_DECIMAL_H__

View file

@ -29,8 +29,7 @@ U_NAMESPACE_BEGIN
template class U_I18N_API MaybeStackArray<const numparse::impl::NumberParseMatcher*, 10>;
#endif
namespace numparse {
namespace impl {
namespace numparse::impl {
// Exported as U_I18N_API for tests
class U_I18N_API NumberParserImpl : public MutableMatcherCollection, public UMemory {
@ -102,9 +101,8 @@ class U_I18N_API NumberParserImpl : public MutableMatcherCollection, public UMem
StringSegment& segment, ParsedNumber& result, int32_t recursionLevels, UErrorCode& status) const;
};
} // namespace numparse::impl
} // namespace impl
} // namespace numparse
U_NAMESPACE_END
#endif //__NUMPARSE_IMPL_H__

View file

@ -14,9 +14,8 @@
using icu::number::impl::Grouper;
U_NAMESPACE_BEGIN namespace numparse {
namespace impl {
U_NAMESPACE_BEGIN
namespace numparse::impl {
class ScientificMatcher : public NumberParseMatcher, public UMemory {
public:
@ -38,9 +37,7 @@ class ScientificMatcher : public NumberParseMatcher, public UMemory {
UnicodeString fCustomPlusSign;
};
} // namespace impl
} // namespace numparse
} // namespace numparse::impl
U_NAMESPACE_END
#endif //__NUMPARSE_SCIENTIFIC_H__

View file

@ -11,9 +11,8 @@
#include "unicode/uniset.h"
#include "static_unicode_sets.h"
U_NAMESPACE_BEGIN namespace numparse {
namespace impl {
U_NAMESPACE_BEGIN
namespace numparse::impl {
/**
* A base class for many matchers that performs a simple match against a UnicodeString and/or UnicodeSet.
@ -164,9 +163,7 @@ class U_I18N_API PlusSignMatcher : public SymbolMatcher {
bool fAllowTrailing;
};
} // namespace impl
} // namespace numparse
} // namespace numparse::impl
U_NAMESPACE_END
#endif //__NUMPARSE_SYMBOLS_H__

View file

@ -12,8 +12,7 @@
#include "string_segment.h"
U_NAMESPACE_BEGIN
namespace numparse {
namespace impl {
namespace numparse::impl {
// Forward-declarations
class ParsedNumber;
@ -263,9 +262,7 @@ class U_I18N_API MutableMatcherCollection {
virtual void addMatcher(NumberParseMatcher& matcher) = 0;
};
} // namespace impl
} // namespace numparse
} // namespace numparse::impl
U_NAMESPACE_END
#endif //__NUMPARSE_TYPES_H__

View file

@ -10,10 +10,8 @@
#include "numparse_types.h"
#include "unicode/uniset.h"
U_NAMESPACE_BEGIN namespace numparse {
namespace impl {
namespace utils {
U_NAMESPACE_BEGIN
namespace numparse::impl::utils {
inline static void putLeadCodePoints(const UnicodeSet* input, UnicodeSet* output) {
for (int32_t i = 0; i < input->getRangeCount(); i++) {
@ -33,10 +31,7 @@ inline static void copyCurrencyCode(char16_t* dest, const char16_t* src) {
dest[3] = 0;
}
} // namespace utils
} // namespace impl
} // namespace numparse
} // namespace numparse::impl::utils
U_NAMESPACE_END
#endif //__NUMPARSE_UTILS_H__

View file

@ -10,9 +10,8 @@
#include "numparse_types.h"
#include "static_unicode_sets.h"
U_NAMESPACE_BEGIN namespace numparse {
namespace impl {
U_NAMESPACE_BEGIN
namespace numparse::impl {
class ValidationMatcher : public NumberParseMatcher {
public:
@ -86,9 +85,7 @@ class MultiplierParseHandler : public ValidationMatcher, public UMemory {
::icu::number::Scale fMultiplier;
};
} // namespace impl
} // namespace numparse
} // namespace numparse::impl
U_NAMESPACE_END
#endif //__SOURCE_NUMPARSE_VALIDATORS_H__

View file

@ -24,8 +24,7 @@ using namespace icu::number::impl;
U_NAMESPACE_BEGIN
namespace number {
namespace impl {
namespace number::impl {
/**
* Implementation class for UNumberRangeFormatter. Wraps a LocalizedRangeNumberFormatter.
@ -59,8 +58,7 @@ UFormattedNumberRangeImpl::~UFormattedNumberRangeImpl() {
fImpl.fData = nullptr;
}
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END

View file

@ -17,9 +17,8 @@
#include "formattedval_impl.h"
#include "pluralranges.h"
U_NAMESPACE_BEGIN namespace number {
namespace impl {
U_NAMESPACE_BEGIN
namespace number::impl {
/**
* Class similar to UFormattedNumberData.
@ -80,9 +79,7 @@ class NumberRangeFormatterImpl : public UMemory {
const UFormattedNumberRangeData* validateUFormattedNumberRange(
const UFormattedNumberRange* uresult, UErrorCode& status);
} // namespace impl
} // namespace number
} // namespace number::impl
U_NAMESPACE_END
#endif //__SOURCE_NUMRANGE_TYPES_H__

View file

@ -17,11 +17,9 @@
U_NAMESPACE_BEGIN
// Forward declarations
namespace number {
namespace impl {
namespace number::impl {
class UFormattedNumberRangeData;
}
}
class StandardPluralRanges : public UMemory {
public:

View file

@ -60,11 +60,9 @@ class UFormattedNumberData;
}
}
namespace numparse {
namespace impl {
namespace numparse::impl {
class NumberParserImpl;
}
}
/**
* **IMPORTANT:** New users are strongly encouraged to see if

View file

@ -35,11 +35,10 @@
U_NAMESPACE_BEGIN
class CharString;
namespace number {
namespace impl {
namespace number::impl {
class DecimalQuantity;
}
}
/**
* Formattable objects can be passed to the Format class or

View file

@ -33,11 +33,9 @@ U_NAMESPACE_BEGIN
class StringEnumeration;
class MeasureUnitImpl;
namespace number {
namespace impl {
namespace number::impl {
class LongNameHandler;
}
} // namespace number
} // namespace number::impl
/**
* Enumeration for unit complexity. There are three levels:

View file

@ -93,15 +93,13 @@ class IFixedDecimal;
class FieldPositionIteratorHandler;
class FormattedStringBuilder;
namespace numparse {
namespace impl {
namespace numparse::impl {
// Forward declarations:
class NumberParserImpl;
class MultiplierParseHandler;
}
}
} // namespace numparse::impl
namespace units {