Skip to content
Snippets Groups Projects
  • David Staessens's avatar
    6737f425
    v4l2_codec2: Don't allow clang-format to merge include groups. · 6737f425
    David Staessens authored
    The clang-format configuration for the code under v4l2_codec2 seems to
    be unable to distingush between std includes (e.g. "<string.h>") and
    other includes (e.g. #include "<utils/Log.h>") and groups them
    together. To avoid this this CL adds "IncludeBlocks: Preserve" to the
    .clang-format file.
    
    Bug: 143333813
    Test: ./clang-format and checked output
    Change-Id: I9f18daa783b089d7493f686797d474ad1c64f00a
    6737f425
    History
    v4l2_codec2: Don't allow clang-format to merge include groups.
    David Staessens authored
    The clang-format configuration for the code under v4l2_codec2 seems to
    be unable to distingush between std includes (e.g. "<string.h>") and
    other includes (e.g. #include "<utils/Log.h>") and groups them
    together. To avoid this this CL adds "IncludeBlocks: Preserve" to the
    .clang-format file.
    
    Bug: 143333813
    Test: ./clang-format and checked output
    Change-Id: I9f18daa783b089d7493f686797d474ad1c64f00a
.clang-format 1.27 KiB