[all-commits] [llvm/llvm-project] 45e01c: [clang] Avoid suggesting typoed directives in `.S`...

Ken Matsui via All-commits all-commits at lists.llvm.org
Mon May 16 15:47:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45e01ce5fe6a5e4dc25ffdf626caa344fbcb93dd
      https://github.com/llvm/llvm-project/commit/45e01ce5fe6a5e4dc25ffdf626caa344fbcb93dd
  Author: Ken Matsui <vcs at kmatsui.me>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M clang/lib/Lex/PPDirectives.cpp
    A clang/test/Preprocessor/suggest-typoed-directive.S

  Log Message:
  -----------
  [clang] Avoid suggesting typoed directives in `.S` files

This patch is itended to avoid suggesting typoed directives in `.S`
files to support the cases of `#` directives treated as comments or
various pseudo-ops. The feature is implemented in
https://reviews.llvm.org/D124726.

Fixes: https://reviews.llvm.org/D124726#3516346.

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D125727




More information about the All-commits mailing list