We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 163c73d commit 205ff4bCopy full SHA for 205ff4b
clang/lib/CodeGen/Targets/AVR.cpp
@@ -135,8 +135,7 @@ class AVRTargetCodeGenInfo : public TargetCodeGenInfo {
135
if (GV->isDeclaration())
136
return;
137
const auto *FD = dyn_cast_or_null<FunctionDecl>(D);
138
- if (!FD)
139
- return;
+ if (!FD) return;
140
auto *Fn = cast<llvm::Function>(GV);
141
142
if (FD->getAttr<AVRInterruptAttr>())
clang/test/CodeGen/avr/argument.c
@@ -119,8 +119,8 @@ struct s8_t {
119
char a;
120
};
121
122
-// AVR-NOT: {{.*}} signext
123
-// TINY-NOT: {{.*}} signext
+// AVR: define {{.*}} i8 @foob(i8 {{.*}})
+// TINY define {{.*}} i8 @foob(i8 {{.*}})
124
char foob(struct s8_t a) {
125
return a.a + 1;
126
}
0 commit comments