[cfe-dev] Fwd: indent wrong in ASTImporter.cpp
Justin Bogner via cfe-dev
cfe-dev at lists.llvm.org
Sun Mar 20 10:03:57 PDT 2016
Liu Xin via cfe-dev <cfe-dev at 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.
r263909.
More information about the cfe-dev
mailing list