diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-02-11 15:27:21 +0300 |
---|---|---|
committer | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-02-11 15:27:21 +0300 |
commit | bc1d61cbf8759f5144217af50d2309b5dddd5538 (patch) | |
tree | 05c8872da0de5aee53ba7ec0b2fffeb2fc524a06 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 83269a04def26fe9890036857d3e1a8c6c1f770d (diff) | |
download | llvm-bc1d61cbf8759f5144217af50d2309b5dddd5538.zip llvm-bc1d61cbf8759f5144217af50d2309b5dddd5538.tar.gz llvm-bc1d61cbf8759f5144217af50d2309b5dddd5538.tar.bz2 |
[clang][NFC] Annotate `SourceManagerTest.cpp` with `preferred_type`
This helps debuggers to display values in bit-fields in a more helpful way.
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
-rw-r--r-- | clang/unittests/Basic/SourceManagerTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp index 557281499..45840f5 100644 --- a/clang/unittests/Basic/SourceManagerTest.cpp +++ b/clang/unittests/Basic/SourceManagerTest.cpp @@ -530,6 +530,7 @@ struct MacroAction { SourceLocation Loc; std::string Name; + LLVM_PREFERRED_TYPE(Kind) unsigned MAKind : 3; MacroAction(SourceLocation Loc, StringRef Name, unsigned K) |