The option was added in D90507 for C/C++ source files. This patch adds support for assembly files.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good to me - thanks
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
3757–3771 | Could simplify this with an early return: if (!DwarfFormatArg) return; ... So DwarfFormatArg isn't tested twice/reduces indentation/etc. | |
clang/tools/driver/cc1as_main.cpp | ||
237 | No need for the ? 1 : 0, that's what booleans convert to anyway. (unless there's prior art/other instances of this idiom in this file that this is consistent with) |
Could simplify this with an early return:
So DwarfFormatArg isn't tested twice/reduces indentation/etc.