summaryrefslogtreecommitdiffstats
path: root/contrib/libs/antlr4_cpp_runtime/src/support/Unicode.h
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2023-12-04 15:32:14 +0300
committerrobot-piglet <[email protected]>2023-12-05 01:22:50 +0300
commitc21ed9eedf73010bc81342518177dfdfb0d56bd7 (patch)
tree72f8fde4463080cfe5a38eb0babc051cfe32c51e /contrib/libs/antlr4_cpp_runtime/src/support/Unicode.h
parentec1311bf2e8cc231723b8b5e484ca576663a1309 (diff)
Intermediate changes
Diffstat (limited to 'contrib/libs/antlr4_cpp_runtime/src/support/Unicode.h')
-rw-r--r--contrib/libs/antlr4_cpp_runtime/src/support/Unicode.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/contrib/libs/antlr4_cpp_runtime/src/support/Unicode.h b/contrib/libs/antlr4_cpp_runtime/src/support/Unicode.h
deleted file mode 100644
index f0f84375add..00000000000
--- a/contrib/libs/antlr4_cpp_runtime/src/support/Unicode.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Copyright (c) 2021 The ANTLR Project. All rights reserved.
- * Use of this file is governed by the BSD 3-clause license that
- * can be found in the LICENSE.txt file in the project root.
- */
-
-#pragma once
-
-#include "antlr4-common.h"
-
-namespace antlrcpp {
-
- class ANTLR4CPP_PUBLIC Unicode final {
- public:
- static constexpr char32_t REPLACEMENT_CHARACTER = 0xfffd;
-
- static constexpr bool isValid(char32_t codePoint) {
- return codePoint < 0xd800 || (codePoint > 0xdfff && codePoint <= 0x10ffff);
- }
-
- private:
- Unicode() = delete;
- Unicode(const Unicode&) = delete;
- Unicode(Unicode&&) = delete;
- Unicode& operator=(const Unicode&) = delete;
- Unicode& operator=(Unicode&&) = delete;
- };
-
-}