[all-commits] [llvm/llvm-project] f63155: [clang] Show line numbers in diagnostic code snippets

Timm Bäder via All-commits all-commits at lists.llvm.org
Tue May 30 22:38:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f63155aaa6467bd2610820dfd1996af3bb6029a7
      https://github.com/llvm/llvm-project/commit/f63155aaa6467bd2610820dfd1996af3bb6029a7
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/checkers/cert/uppercase-literal-suffix-integer.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/uppercase-literal-suffix-float16.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/uppercase-literal-suffix-floating-point-opencl-half.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/uppercase-literal-suffix-floating-point.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/uppercase-literal-suffix-hexadecimal-floating-point.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/uppercase-literal-suffix-integer-custom-list.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/uppercase-literal-suffix-integer-ms.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/uppercase-literal-suffix-integer.cpp
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/Basic/DiagnosticOptions.def
    M clang/include/clang/Basic/DiagnosticOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/TextDiagnostic.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/TextDiagnostic.cpp
    M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
    M clang/test/FixIt/fixit-function-call.cpp
    M clang/test/FixIt/fixit-newline-style.c
    M clang/test/FixIt/fixit-unicode-with-utf8-output.c
    M clang/test/FixIt/fixit-unicode.c
    M clang/test/Frontend/source-col-map.c
    M clang/test/Lexer/header.cpp
    M clang/test/Lexer/string-literal-errors.cpp
    M clang/test/Misc/caret-diags-macros.c
    M clang/test/Misc/caret-diags-multiline.cpp
    M clang/test/Misc/diag-macro-backtrace.c
    M clang/test/Misc/message-length.c
    M clang/test/Misc/tabstop.c
    M clang/test/Misc/unnecessary-elipses.cpp
    M clang/test/Misc/unprintable.c
    M clang/test/Misc/wrong-encoding.c
    M clang/test/Parser/brackets.c
    M clang/test/Parser/brackets.cpp
    M clang/test/Preprocessor/ucn-pp-identifier.c
    M clang/test/Sema/caret-diags-complex-init.cpp
    M clang/test/SemaCXX/struct-class-redecl.cpp
    M lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py

  Log Message:
  -----------
  [clang] Show line numbers in diagnostic code snippets

Show line numbers to the left of diagnostic code snippets and increase
the numbers of lines shown from 1 to 16.

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




More information about the All-commits mailing list