Skip to content

Commit 815185a

Browse files
Merge pull request #5907 from adrian-prantl/103415402
Revert an unintentional API ABI break
2 parents a0f68b2 + ca48ff8 commit 815185a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lldb/include/lldb/lldb-enumerations.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,10 @@ FLAGS_ENUM(WatchpointEventType){
434434
/// specification for ease of use and consistency.
435435
/// The enum -> string code is in Language.cpp, don't change this
436436
/// table without updating that code as well.
437-
enum LanguageType : uint16_t {
437+
///
438+
/// This datatype is used in SBExpressionOptions::SetLanguage() which
439+
/// makes this type API. Do not change its underlying storage type!
440+
enum LanguageType {
438441
eLanguageTypeUnknown = 0x0000, ///< Unknown or invalid language value.
439442
eLanguageTypeC89 = 0x0001, ///< ISO C:1989.
440443
eLanguageTypeC = 0x0002, ///< Non-standardized C, such as K&R.

0 commit comments

Comments
 (0)