SuccessChanges

Summary

  1. [ARM] Allocatable Global Register Variables for ARM (details)
  2. [AST] Attach comment in `/** doc */ typedef struct A {} B` to B as well (details)
Commit 2d739f98d8a53e38bf9faa88cdb6b0c2a363fb77 by anna.welker
[ARM] Allocatable Global Register Variables for ARM
      Provides support for using r6-r11 as globally scoped
     register variables. This requires a -ffixed-rN flag
     in order to reserve rN against general allocation.
      If for a given GRV declaration the corresponding flag
     is not found, or the the register in question is the
     target's FP, we fail with a diagnostic.
      Differential Revision: https://reviews.llvm.org/D68862
The file was addedllvm/test/CodeGen/Thumb/callee_save_reserved.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARM.td
The file was addedllvm/test/CodeGen/ARM/reg-alloc-fixed-r6-vla.ll
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Basic/Targets/ARM.h
The file was addedllvm/test/Feature/reserve_global_reg.ll
The file was addedllvm/test/CodeGen/ARM/reg-alloc-wout-fixed-regs.ll
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was addedclang/test/Driver/arm-reserved-reg-options.c
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was addedclang/test/Sema/arm-global-regs.c
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was addedllvm/test/CodeGen/ARM/reg-alloc-with-fixed-reg-r6-modified.ll
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was addedllvm/test/CodeGen/ARM/reg-alloc-with-fixed-reg-r6.ll
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/include/clang/Driver/Options.td
Commit a433e7141fb3f697e6430437ee73b19076603c1b by sam.mccall
[AST] Attach comment in `/** doc */ typedef struct A {} B` to B as well
as A.
Summary: Semantically they're the same thing, and it's important when
the underlying struct is anonymous.
There doesn't seem to be a problem attaching the same comment to
multiple things as it already happens with `/** doc */ int a, b;`
This affects an Index test but the results look better (name present,
USR points to the typedef).
Fixes https://github.com/clangd/clangd/issues/189
Reviewers: kadircet, lh123
Subscribers: ilya-biryukov, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70203
The file was modifiedclang/test/Index/annotate-comments-typedef.m
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang/test/Sema/warn-documentation.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp