We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d4483 commit 1b706a6Copy full SHA for 1b706a6
clang/lib/CodeGen/CGStmt.cpp
@@ -3012,7 +3012,7 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
3012
3013
// Simplify the input constraint.
3014
std::string InputConstraint(S.getInputConstraint(i));
3015
- InputConstraint = getTarget().simplifyConstraint(InputConstraint.c_str(),
+ InputConstraint = getTarget().simplifyConstraint(InputConstraint,
3016
&OutputConstraintInfos);
3017
3018
InputConstraint = AddVariableConstraints(
0 commit comments