mttjcksn

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: clang-format issues #30417
    mttjcksn
    Participant

    Thanks.  I have had  some luck using BasedOnStyle: LLVM and adding a small number of rules on top of that. Perhaps having a large clang-format file causes more problems than it’s worth!

    in reply to: clang-format issues #30413
    mttjcksn
    Participant

    Thanks for the reply. I just checked every setting in the example I gave above against the version 6 docs here:

    https://releases.llvm.org/6.0.0/tools/clang/docs/ClangFormatStyleOptions.html

    The only one not present was AlignConsecutiveMacros, so I removed it.  Unfortunately the outcome is still the same.  I have double checked that the file is using this clang-format file by clicking the formatting style button in the editor.

    Is there anything else I am missing?

    Is there a list of clang version differences, or any kind of tool to help me work out what the differences are so I can convert a modern clang format to use the old version 6 format?

    Is it possible to disable VisualGDB’s clang-format but keep VisualGDB’s intellisense?

    Many thanks

    • This reply was modified 3 years, 7 months ago by mttjcksn.
Viewing 2 posts - 1 through 2 (of 2 total)