projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c6412e
)
Adding some explicit casts to appease build bots; NFC
author
Aaron Ballman
<aaron@aaronballman.com>
Mon, 16 Nov 2020 14:13:24 +0000
(09:13 -0500)
committer
Aaron Ballman
<aaron@aaronballman.com>
Mon, 16 Nov 2020 14:13:24 +0000
(09:13 -0500)
clang/lib/Sema/DeclSpec.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/DeclSpec.cpp
b/clang/lib/Sema/DeclSpec.cpp
index
b028154
..
7cef655
100644
(file)
--- a/
clang/lib/Sema/DeclSpec.cpp
+++ b/
clang/lib/Sema/DeclSpec.cpp
@@
-1094,8
+1094,8
@@
bool DeclSpec::SetConstexprSpec(ConstexprSpecKind ConstexprKind,
}
void DeclSpec::SaveWrittenBuiltinSpecs() {
- writtenBS.Sign =
getTypeSpecSign(
);
- writtenBS.Width =
getTypeSpecWidth(
);
+ writtenBS.Sign =
static_cast<int>(getTypeSpecSign()
);
+ writtenBS.Width =
static_cast<int>(getTypeSpecWidth()
);
writtenBS.Type = getTypeSpecType();
// Search the list of attributes for the presence of a mode attribute.
writtenBS.ModeAttr = getAttributes().hasAttribute(ParsedAttr::AT_Mode);