[all-commits] [llvm/llvm-project] a10135: [clang-format]: Annotate colons found in inline as...

Gedare Bloom via All-commits all-commits at lists.llvm.org
Thu Jun 6 18:38:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a10135f4922624f92c3a108d23ab64adc09dd285
      https://github.com/llvm/llvm-project/commit/a10135f4922624f92c3a108d23ab64adc09dd285
  Author: Gedare Bloom <gedare at rtems.org>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format]: Annotate colons found in inline assembly (#92617)

Short-circuit the parsing of tok::colon to label colons found within
lines starting with asm as InlineASMColon.

Fixes #92616.

---------

Co-authored-by: Owen Pan <owenpiano at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list