[all-commits] [llvm/llvm-project] c88e29: [lldb] Surpress "bitfield too small" gcc warning
Pavel Labath via All-commits
all-commits at lists.llvm.org
Fri Jan 10 04:40:23 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c88e298b69409e35e35ab601592197f5a2bc1c30
https://github.com/llvm/llvm-project/commit/c88e298b69409e35e35ab601592197f5a2bc1c30
Author: Pavel Labath <pavel at labath.sk>
Date: 2020-01-10 (Fri, 10 Jan 2020)
Changed paths:
M lldb/include/lldb/Symbol/DebugMacros.h
Log Message:
-----------
[lldb] Surpress "bitfield too small" gcc warning
Gcc produces this (technically correct) warning when storing an
explicitly-sized enum in a bitfield. Surpress that by changing the type
of the bitfield to an integer. The same approach is used elsewhere in
llvm (e.g. 56b5eab12).
More information about the All-commits
mailing list