I use gcc to compile clang. gcc gives us this warning.
/home/xliu/MyDevel/llvm-repo/llvm/tools/clang/lib/AST/ASTImporter.cpp:622:7: warning: statement is indented as if it were guarded by… [-Wmisleading-indentation]
if (Function1->getExtInfo() != Function2->getExtInfo())
^~
/home/xliu/MyDevel/llvm-repo/llvm/tools/clang/lib/AST/ASTImporter.cpp:619:5: note: …this ‘if’ clause, but it is not
if (!IsStructurallyEquivalent(Context, Function1->getReturnType(),
^~
I go there and take a look. It’s clearly just a minor indent problem. We better remove this warning.
Liu Xin via cfe-dev <cfe-dev@lists.llvm.org> writes:
hi, list
I use gcc to compile clang. gcc gives us this warning.
/home/xliu/MyDevel/llvm-repo/llvm/tools/clang/lib/AST/ASTImporter.cpp:622:7:
warning: statement is indented as if it were guarded by...
[-Wmisleading-indentation]
if (Function1->getExtInfo() != Function2->getExtInfo())
^~
/home/xliu/MyDevel/llvm-repo/llvm/tools/clang/lib/AST/ASTImporter.cpp:619:5:
note: ...this ‘if’ clause, but it is not
if (!IsStructurallyEquivalent(Context, Function1->getReturnType(),
^~
I go there and take a look. It's clearly just a minor indent problem. We
better remove this warning.