[clang] fb9d124 - [clang][NFC] Clean up commented-out code in `StringLiteral`
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 5 22:20:12 PST 2023
Author: Vlad Serebrennikov
Date: 2023-11-06T09:20:04+03:00
New Revision: fb9d1243f535a8b678824d2b63d33eb183a7f2bc
URL: https://github.com/llvm/llvm-project/commit/fb9d1243f535a8b678824d2b63d33eb183a7f2bc
DIFF: https://github.com/llvm/llvm-project/commit/fb9d1243f535a8b678824d2b63d33eb183a7f2bc.diff
LOG: [clang][NFC] Clean up commented-out code in `StringLiteral`
Leftovers from 3e6ce58701a3a8463b53fb3fd2023c02b4e90554.
Added:
Modified:
clang/include/clang/AST/Expr.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h
index c2691f80dc54a7e..a9c4c67a60e8e8e 100644
--- a/clang/include/clang/AST/Expr.h
+++ b/clang/include/clang/AST/Expr.h
@@ -1827,10 +1827,6 @@ class StringLiteral final
///
/// * An array of getByteLength() char used to store the string data.
-public:
- // enum StringKind { Ordinary, Wide, UTF8, UTF16, UTF32, Unevaluated };
-
-private:
unsigned numTrailingObjects(OverloadToken<unsigned>) const { return 1; }
unsigned numTrailingObjects(OverloadToken<SourceLocation>) const {
return getNumConcatenated();
More information about the cfe-commits
mailing list