Skip to content

Merge 2020-09-24 into tensorflow #1840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 204 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
8618667
[lldb] Update call to AbstractFunctionDecl::setBody
hamishknight Sep 4, 2020
eda3529
[libclang] Add translateCXRangeToCharRange conversion
jkorous-apple Sep 2, 2020
559274f
[libclang] Expose couple more AST details via cursors
jkorous-apple Sep 1, 2020
36fb18c
[libclang] Add CXRewriter to libclang API
jkorous-apple Sep 4, 2020
09c3756
[libclang] Add missing dependency on clangRewrite lib
jkorous-apple Sep 4, 2020
465c1e5
[lldb/formatters] Follow-up option set formatter cleanup (NFC)
kastiglione Sep 5, 2020
59e3349
Merge commit '8ae3293030d9' from llvm.org/release/11.x into apple/sta…
Sep 10, 2020
8ae3293
Revert D86875 "[Flang][NFC] Remove license comments from files in doc…
SouraVX Sep 10, 2020
207e917
Merge commit '59e334998389' from apple/stable/20200714 into swift/master
Sep 10, 2020
4595220
comment cleanup
kastiglione Sep 10, 2020
1cb41b2
Merge commit '9ad89a8cc3c7' from llvm.org/release/11.x into apple/sta…
Sep 10, 2020
9ad89a8
[flang] Convert release notes to markdown
RichBarton-Arm Sep 3, 2020
8664d43
Merge pull request #1776 from apple/dl/lldb-formatters-Follow-up-opti…
kastiglione Sep 10, 2020
c7d352f
Merge commit '1cb41b26f844' from apple/stable/20200714 into swift/master
Sep 11, 2020
ee1ac04
Merge commit 'd024df40a192' from llvm.org/release/11.x into apple/sta…
Sep 11, 2020
d024df4
[compiler-rt] [netbsd] Reintroduce __sanitizer_protoent
krytarowski Sep 10, 2020
8a52c83
Merge commit 'ee1ac04d0084' from apple/stable/20200714 into swift/master
Sep 11, 2020
0bf9a7b
Merge commit '29d700a81320' from llvm.org/release/11.x into apple/sta…
Sep 11, 2020
29d700a
[DebugInfo] Fixing CodeView assert related to lowerBound field of DIS…
alokkrsharma Sep 11, 2020
d9c439b
Merge commit 'bff8d98129e8' from llvm.org/release/11.x into apple/sta…
Sep 11, 2020
bff8d98
[clang][aarch64] Fix mangling of bfloat16 neon vectors
c-rhodes Sep 10, 2020
c1420c4
Merge commit '01be54e257d9' from llvm.org/release/11.x into apple/sta…
Sep 11, 2020
01be54e
[flang] Add new documentation main page
RichBarton-Arm Sep 11, 2020
8ccebdc
Merge commit 'c1420c43deef' from apple/stable/20200714 into swift/master
Sep 11, 2020
1a186ed
Merge pull request #1753 from hamishknight/typed-def
hamishknight Sep 11, 2020
3f33388
Merge commit 'd9c439bf9cd4' from apple/stable/20200714 into swift/master
Sep 11, 2020
4d450e2
[lldb] Regenerate the static bindings with SWIG4
JDevlieghere Sep 11, 2020
202c0f3
[lldb/API] Add Breakpoint::SerializeToStructuredData to SBAPI
medismailben Sep 11, 2020
8a6f156
Merge pull request #1787 from medismailben/apple/stable/20200714
medismailben Sep 11, 2020
cd1093d
Merge commit '8a6f156fa314' from apple/stable/20200714 into swift/master
Sep 11, 2020
7f75662
Simplify Makefile and avoid running os.chdir() in the test.
adrian-prantl Sep 11, 2020
2b6e6de
Merge pull request #1785 from JDevlieghere/static-bindings-swig4
JDevlieghere Sep 11, 2020
d66df56
Split GetMemberVariableOffset into RemoteAST and RemoteMirrors implem…
adrian-prantl Sep 11, 2020
cca7e96
[lldb] Add test for CFMutableDictionaryRef
JDevlieghere Sep 11, 2020
2fa3083
[lldb] Use GetNonKVOClassDescriptor to get the NSDictionary class des…
JDevlieghere Sep 11, 2020
eb23ae0
Merge pull request #1792 from JDevlieghere/🍒/bastille/76e3a27c16d2a81…
fredriss Sep 12, 2020
912a4ad
Merge commit 'eb23ae0f769a' from apple/stable/20200714 into swift/master
Sep 12, 2020
3f3a065
Fixup LLDB for getMainSourceFile change
CodaFi Sep 12, 2020
c986b7f
Merge pull request #1793 from CodaFi/sf-symbols
CodaFi Sep 12, 2020
c368f91
TypeSystem: normalize the Windows triple
compnerd Sep 12, 2020
c4feefb
[lldb] Regenerate the static bindings
medismailben Sep 14, 2020
ff29541
Merge pull request #1796 from medismailben/swift/master
medismailben Sep 14, 2020
df2a75b
Merge commit 'b3fb40b3a3c1' from llvm.org/release/11.x into apple/sta…
Sep 14, 2020
b3fb40b
[AMDGPU] Fix for folding v2.16 literals.
dfukalov Sep 4, 2020
a03a952
Merge pull request #1794 from compnerd/triple
compnerd Sep 14, 2020
cdc6ebd
Merge pull request #1789 from adrian-prantl/68717542
adrian-prantl Sep 14, 2020
fcf87e6
Merge commit 'df2a75b3d357' from apple/stable/20200714 into swift/master
Sep 14, 2020
afee6e0
Fix captialization of path.
adrian-prantl Sep 14, 2020
bcc7757
Merge commit '6d38d881821c' from apple/stable/20200714 into swift/master
Sep 14, 2020
6d38d88
Merge pull request #1774 from jkorous-apple/libclang-new-apis-20200714
jkorous-apple Sep 14, 2020
dacf29f
Merge pull request #1798 from dabrahams/swift:tensorflow-stage
Sep 14, 2020
52215bb
[Analyzer][WebKit] UncountedLambdaCaptureChecker
jkorous-apple Jun 30, 2020
5fa937b
ExpressionParser: adjust triple handling for Swift REPL on Linux
compnerd Sep 14, 2020
92cd3a4
[TypeSystemSwiftTypeRef] Implement GetErrorType
kastiglione Sep 14, 2020
a619764
Merge pull request #1781 from adrian-prantl/55412940
adrian-prantl Sep 15, 2020
51c5a8c
Temporarily disable test that only fails on the bots!
adrian-prantl Sep 15, 2020
8751c65
Merge pull request #1807 from adrian-prantl/68891755
shahmishal Sep 15, 2020
b401b22
Merge commit '2d61b5ea8079' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
2d61b5e
Reduce code duplication in simplifySelectWithICmpCond (NFC)
nikic Aug 29, 2020
8c01c11
Merge commit 'd720e5855dcf' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
d720e58
Add test for PR47322 (NFC)
nikic Sep 10, 2020
0e12c92
Merge commit 'be318969e245' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
be31896
Fix incorrect SimplifyWithOpReplaced transform (PR47322)
nikic Sep 10, 2020
8cc39e1
Merge commit '0e12c92b03d8' from apple/stable/20200714 into swift/master
Sep 15, 2020
6ee1de7
Merge commit '88e17a8e9b49' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
88e17a8
[SelectionDAG] Remove unused FP constant in getNegatedExpression
ecnelises Sep 15, 2020
f1a48dd
Merge commit 'd754173a9830' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
d754173
[clangd] Use string[] for allCommitCharacters
kirillbobyrev Aug 26, 2020
da30728
Merge commit '2ec773995076' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
2ec7739
[FastISel] Bail out of selectGetElementPtr for vector GEPs.
topperc Sep 14, 2020
7c33d39
Merge commit 'da307284e5f7' from apple/stable/20200714 into swift/master
Sep 15, 2020
a0cbc46
Merge commit '274bb3fdddf8' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
274bb3f
Clang release notes: mention the max_tokens_here pragma
zmodem Sep 15, 2020
eaf72c3
Merge commit '1a8e4505d860' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
1a8e450
[analyzer] Add documentation for alpha.fuchsia.Lock and alpha.core.C1…
Szelethus Aug 25, 2020
0014050
Merge commit 'e62452bb3e1e' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
e62452b
Revert "Double check that passes correctly set their Modified status"
zmodem Sep 15, 2020
ac97713
Merge commit '791b7e9f73e0' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
791b7e9
[release][docs] Add 11.0.0. release notes for the Clang Static Analyzer
Szelethus Aug 25, 2020
8f91bf9
Merge commit '22dab218407e' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
22dab21
Revert "[SelectionDAG] Remove unused FP constant in getNegatedExpress…
ecnelises Sep 15, 2020
4d0afc0
Merge commit 'd3f1f588f902' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
d3f1f58
[Docs] Add/update release notes for D71913 (LTO WPD changes)
teresajohnson Sep 1, 2020
4bd45ef
Merge commit '1596c2dfd548' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
1596c2d
Fix -allow-enabling-analyzer-alpha-checkers always being passed to ru…
Aug 20, 2020
9ee5f48
Merge commit '4b23932e230d' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
4b23932
[OPENMP][NFC]Release notes for OpenMP in clang (11.x).
zmodem Sep 15, 2020
97562bf
Merge commit '6e042866c307' from llvm.org/release/11.x into apple/sta…
Sep 15, 2020
6e04286
Revert "RegAllocFast: Record internal state based on register units"
zmodem Sep 15, 2020
184adb8
Merge commit 'f9f46c2a5ca6' from apple/stable/20200714 into swift/master
Sep 16, 2020
f9f46c2
Merge commit '158581772fc8' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
1585817
ReleaseNotes: PowerPC changes
zmodem Sep 15, 2020
8b549e1
remove demangle tree loop
kastiglione Sep 15, 2020
544ed4c
Add TestTypeSystemSwiftTypeRef.MangledTypeName
kastiglione Sep 15, 2020
16d7407
Merge pull request #1799 from compnerd/triple-version
compnerd Sep 16, 2020
4aab7ef
Merge commit '4bd45efdaae4' from apple/stable/20200714 into swift/master
Sep 16, 2020
384311c
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
Sep 16, 2020
d54e1a1
Don't enforce a strict order in test that does type lookup
adrian-prantl Sep 16, 2020
fd9b815
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
Sep 16, 2020
0e63e5f
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
Sep 16, 2020
b3797ab
Merge pull request #1806 from apple/dl/TypeSystemSwiftTypeRef-Impleme…
kastiglione Sep 16, 2020
d875f0f
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
Sep 16, 2020
71e0a11
Merge commit '8f2c29681ce7' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
8f2c296
[flang] Fix docs build
RichBarton-Arm Sep 16, 2020
c93b324
Merge commit '71e0a1178747' from apple/stable/20200714 into swift/master
Sep 16, 2020
66050e8
Merge commit '4a26e3b33798' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
4a26e3b
[clangd] Actually parse Index section of the YAML file.
gislan Sep 15, 2020
fb448df
Merge commit '66050e8b508c' from apple/stable/20200714 into swift/master
Sep 16, 2020
a338393
Merge commit '339a0e2d114e' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
339a0e2
llvm release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
d2deaa8
Merge commit '1a51c113148a' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
1a51c11
clang release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
cce19df
Merge commit '19d7a9fa9d66' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
19d7a9f
clang-tools-extra release notes: drop in-progress warnings; minor cle…
zmodem Sep 16, 2020
31824b8
Merge commit '6afefb45dbff' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
6afefb4
lld release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
6ecd414
Merge commit '34c21f8dbe65' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
34c21f8
flang release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
cde2657
Merge commit '952e7c3b81ff' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
952e7c3
libc++ release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
04f0563
Merge commit 'f9572abae17c' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
f9572ab
openmp release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
757aecf
Merge commit 'c2f4de353b2e' from llvm.org/release/11.x into apple/sta…
Sep 16, 2020
ad20a73
Merge commit '757aecf88edd' from apple/stable/20200714 into swift/master
Sep 16, 2020
c2f4de3
polly release notes: drop in-progress warnings; minor cleanups
zmodem Sep 16, 2020
1f3cfaa
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
Sep 16, 2020
88cc4b5
Merge pull request #1811 from adrian-prantl/67082900
adrian-prantl Sep 16, 2020
189589a
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
Sep 16, 2020
5e3af41
[lldb/unittests] Drop defaulted parameter in TestTypeSystemSwiftTypeR…
kastiglione Sep 16, 2020
1e076a9
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
Sep 16, 2020
aa468eb
[compiler-rt] Use -nostdinc++ in clang_rt.profile to avoid including …
ldionne Jul 20, 2020
bfcd8b8
Merge commit 'aa468eb71d06' from apple/stable/20200714 into swift/master
Sep 16, 2020
d094fad
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 16, 2020
b60a372
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 16, 2020
80e2fc1
[X86][ELF] Prefer lowering MC_GlobalAddress operands to .Lfoo$local f…
bd1976bris Aug 13, 2020
8e6bf4c
Merge commit '80e2fc1e6e68' from llvm.org/release/11.x into apple/sta…
Sep 17, 2020
4fe4e35
[Flang] Add GettingInvolved documentation page and sidebar.
Sep 13, 2020
fb7f5f3
Merge commit '4fe4e35452ef' from llvm.org/release/11.x into apple/sta…
Sep 17, 2020
91ca0bb
Merge commit '05ba43d2d25c' from apple/stable/20200714 into swift/master
Sep 17, 2020
b78e5de
[SelectionDAG] Check any use of negation result before removal
ecnelises Sep 17, 2020
05ba43d
Merge commit 'b78e5de029c2' from llvm.org/release/11.x into apple/sta…
Sep 17, 2020
949217f
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 17, 2020
bdca7d8
Merge pull request #1817 from apple/dl/lldb-unittests-Drop-defaulted-…
kastiglione Sep 17, 2020
6a5a827
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 17, 2020
156105b
[NFC] Cache all imports, not just public & private.
varungandhi-apple Sep 18, 2020
1c1ac73
[Swift] Update for VarDecl constructor change
slavapestov Sep 18, 2020
ef57404
Merge branch 'swift/tensorflow' of github.com:apple/llvm-project into…
texasmichelle Sep 18, 2020
52cc0c6
Factor out SwiftLanguageRuntimeImpl::ForEachSuperClassTypeInfo()
adrian-prantl Sep 18, 2020
d8d1112
Replace ConstString parameter with StringRef (NFC)
adrian-prantl Sep 18, 2020
6c69ba3
Merge pull request #1820 from slavapestov/lldb-vardecl-fix
slavapestov Sep 19, 2020
a218ac2
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 19, 2020
e56ea28
Merge pull request #1822 from adrian-prantl/refactor-foreach
adrian-prantl Sep 21, 2020
1fc48e9
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 21, 2020
410b0dc
[llvm] Add contains(KeyType) -> bool methods to SmallPtrSet
dwblaikie Jul 17, 2020
741cc6c
Merge commit '410b0dc84bbd' from llvm.org/release/11.x into apple/sta…
Sep 22, 2020
6250d49
PR47468: Fix findPHICopyInsertPoint, so that copies aren't incorrectl…
jyknight Sep 17, 2020
d119bb6
Merge commit '6250d4944539' from llvm.org/release/11.x into apple/sta…
Sep 22, 2020
b513e19
[CodeGen] Fixing inconsistent ABI mangling of vlaues in SelectionDAGB…
pratlucas Sep 17, 2020
26ae724
Merge commit 'b513e1963f3a' from llvm.org/release/11.x into apple/sta…
Sep 22, 2020
2685951
Merge commit '26ae724bfd52' from apple/stable/20200714 into swift/master
Sep 22, 2020
8aca41f
[clang][docs] Fix documentation of -O
jrtc27 Sep 17, 2020
33b1344
Merge commit '8aca41f39c20' from llvm.org/release/11.x into apple/sta…
Sep 22, 2020
175eee9
Merge commit '33b13442c4d2' from apple/stable/20200714 into swift/master
Sep 22, 2020
1b80e74
llvm index.rst: Drop in-progress warning
zmodem Sep 22, 2020
02fb4e7
Merge commit '1b80e741f511' from llvm.org/release/11.x into apple/sta…
Sep 22, 2020
0b56e54
clang-tools-extra: Drop doxygen link from index.rst
zmodem Sep 22, 2020
3579f7f
Merge commit '0b56e5490dc3' from llvm.org/release/11.x into apple/sta…
Sep 22, 2020
aa3a781
Merge commit '3579f7f54f83' from apple/stable/20200714 into swift/master
Sep 22, 2020
4133181
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 22, 2020
d5cd8c5
[Analyzer][WebKit] UncountedLocalVarsChecker
jkorous-apple Aug 6, 2020
a3bb212
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 22, 2020
f420652
[lldb] Extract FileSystem initialization code into helper (NFC)
JDevlieghere Aug 20, 2020
37fd390
[lldb] Eliminate unneeded value parameters in Utility (NFC)
JDevlieghere Jul 22, 2020
914a883
[lldb] Implement WorkingDirectoryProvider in terms of DirectoryProvid…
JDevlieghere Aug 20, 2020
e66b70b
[lldb] Capture and load home directory from the reproducer.
JDevlieghere Aug 20, 2020
a59d3ef
[lldb] Extract reproducer providers & co into their own header.
JDevlieghere Aug 22, 2020
f5349c7
[lldb] Add a SymbolFileProvider to record and replay calls to dsymFor…
JDevlieghere Aug 24, 2020
42f1d66
Revert "[lldb] XFAIL TestMemoryHistory on Linux"
Teemperor Sep 22, 2020
009c9f1
[lldb] Add reproducer verifier
JDevlieghere Aug 31, 2020
117905e
Revert "[lldb] Add reproducer verifier"
Teemperor Sep 1, 2020
0441795
[lldb] Add reproducer verifier
JDevlieghere Aug 31, 2020
1ddf87c
[lldb] Initialize reproducers in LocateSymbolFileTest
Teemperor Aug 25, 2020
cbad57f
[lldb] Make Reproducer compatbile with SubsystemRAII (NFC)
JDevlieghere Aug 25, 2020
21ed509
[lldb] Always record both the working and home directory.
JDevlieghere Sep 3, 2020
04d62ec
Merge pull request #1827 from JDevlieghere/cherrypick-reproducer-backlog
JDevlieghere Sep 22, 2020
1457655
[lldb] Remove unused source range limiting (downstream)
kastiglione Sep 23, 2020
0bf83e9
Merge pull request #1826 from Teemperor/cherry/ef7d22a98683
Teemperor Sep 23, 2020
8027bc1
Merge pull request #1802 from jkorous-apple/static-analyzer-webkit-20…
jkorous-apple Sep 23, 2020
5d91574
[NFC] Update ImportFilterKinds to match rename in Swift.
varungandhi-apple Sep 18, 2020
87023b9
Merge remote-tracking branch 'origin/apple/stable/20200714' into swif…
JDevlieghere Sep 23, 2020
f0ddcab
[lldb] Add missing reproducer include
JDevlieghere Sep 23, 2020
912df52
Merge pull request #1828 from apple/dl/lldb-Remove-unused-source-rang…
kastiglione Sep 23, 2020
fb1ce81
UnXFAIL DwarfImporter tests fixed by Swift debug info change
adrian-prantl Sep 23, 2020
d00080a
Factor out TypeSystemSwiftTypeRef::GetSwiftified() (NFC)
adrian-prantl Sep 23, 2020
87f631f
Fix captialization to match LLDB coding style (NFC)
adrian-prantl Sep 23, 2020
0decb96
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 24, 2020
ba3adbb
Merge pull request #1819 from varungandhi-apple/vg-lldb-update-import…
varungandhi-apple Sep 24, 2020
3ef1242
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 24, 2020
f9c4191
Rename merged out of sync.
pschuh Sep 24, 2020
8c155f4
Merge pull request #1835 from JDevlieghere/merge-bastille-into-swift-…
JDevlieghere Sep 24, 2020
ee240e8
Merge pull request #1836 from adrian-prantl/60396797-unxfail-dwo
adrian-prantl Sep 24, 2020
f4cdc54
Merge pull request #1838 from adrian-prantl/getschwifty
adrian-prantl Sep 24, 2020
0aa6e59
Revert "Rename merged out of sync."
pschuh Sep 24, 2020
aec4778
Merge branch 'swift/master' of github.com:apple/llvm-project into swi…
ainu-bot Sep 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_tidy_invocation(f, clang_tidy_binary, checks, tmpdir, build_path,
extra_arg, extra_arg_before, quiet, config):
"""Gets a command line for clang-tidy."""
start = [clang_tidy_binary]
if allow_enabling_alpha_checkers is not None:
if allow_enabling_alpha_checkers:
start.append('-allow-enabling-analyzer-alpha-checkers')
if header_filter is not None:
start.append('-header-filter=' + header_filter)
Expand Down
5 changes: 4 additions & 1 deletion clang-tools-extra/clangd/ClangdLSPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,10 @@ void ClangdLSPServer::onInitialize(const InitializeParams &Params,
{"codeActionProvider", std::move(CodeActionProvider)},
{"completionProvider",
llvm::json::Object{
{"allCommitCharacters", " \t()[]{}<>:;,+-/*%^&#?.=\"'|"},
{"allCommitCharacters",
{" ", "\t", "(", ")", "[", "]", "{", "}", "<",
">", ":", ";", ",", "+", "-", "/", "*", "%",
"^", "&", "#", "?", ".", "=", "\"", "'", "|"}},
{"resolveProvider", false},
// We do extra checks, e.g. that > is part of ->.
{"triggerCharacters", {".", "<", ">", ":", "\"", "/"}},
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clangd/ConfigYAML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Parser {
DictParser Dict("Config", this);
Dict.handle("If", [&](Node &N) { parse(F.If, N); });
Dict.handle("CompileFlags", [&](Node &N) { parse(F.CompileFlags, N); });
Dict.handle("Index", [&](Node &N) { parse(F.Index, N); });
Dict.parse(N);
return !(N.failed() || HadError);
}
Expand Down
30 changes: 29 additions & 1 deletion clang-tools-extra/clangd/test/initialize-params.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,35 @@
# CHECK-NEXT: "capabilities": {
# CHECK-NEXT: "codeActionProvider": true,
# CHECK-NEXT: "completionProvider": {
# CHECK-NEXT: "allCommitCharacters": " \t()[]{}<>:;,+-/*%^&#?.=\"'|",
# CHECK-NEXT: "allCommitCharacters": [
# CHECK-NEXT: " ",
# CHECK-NEXT: "\t",
# CHECK-NEXT: "(",
# CHECK-NEXT: ")",
# CHECK-NEXT: "[",
# CHECK-NEXT: "]",
# CHECK-NEXT: "{",
# CHECK-NEXT: "}",
# CHECK-NEXT: "<",
# CHECK-NEXT: ">",
# CHECK-NEXT: ":",
# CHECK-NEXT: ";",
# CHECK-NEXT: ",",
# CHECK-NEXT: "+",
# CHECK-NEXT: "-",
# CHECK-NEXT: "/",
# CHECK-NEXT: "*",
# CHECK-NEXT: "%",
# CHECK-NEXT: "^",
# CHECK-NEXT: "&",
# CHECK-NEXT: "#",
# CHECK-NEXT: "?",
# CHECK-NEXT: ".",
# CHECK-NEXT: "=",
# CHECK-NEXT: "\"",
# CHECK-NEXT: "'",
# CHECK-NEXT: "|"
# CHECK-NEXT: ],
# CHECK-NEXT: "resolveProvider": false,
# CHECK-NEXT: "triggerCharacters": [
# CHECK-NEXT: ".",
Expand Down
17 changes: 11 additions & 6 deletions clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,21 @@ CompileFlags: { Add: [foo, bar] }
Add: |
b
az
---
Index:
Background: Skip
)yaml";
auto Results = Fragment::parseYAML(YAML, "config.yaml", Diags.callback());
EXPECT_THAT(Diags.Diagnostics, IsEmpty());
ASSERT_EQ(Results.size(), 2u);
EXPECT_FALSE(Results.front().If.HasUnrecognizedCondition);
EXPECT_THAT(Results.front().If.PathMatch, ElementsAre(Val("abc")));
EXPECT_THAT(Results.front().CompileFlags.Add,
ElementsAre(Val("foo"), Val("bar")));
ASSERT_EQ(Results.size(), 3u);
EXPECT_FALSE(Results[0].If.HasUnrecognizedCondition);
EXPECT_THAT(Results[0].If.PathMatch, ElementsAre(Val("abc")));
EXPECT_THAT(Results[0].CompileFlags.Add, ElementsAre(Val("foo"), Val("bar")));

EXPECT_THAT(Results[1].CompileFlags.Add, ElementsAre(Val("b\naz\n")));

EXPECT_THAT(Results.back().CompileFlags.Add, ElementsAre(Val("b\naz\n")));
ASSERT_TRUE(Results[2].Index.Background);
EXPECT_EQ("Skip", *Results[2].Index.Background.getValue());
}

TEST(ParseYAML, Locations) {
Expand Down
60 changes: 3 additions & 57 deletions clang-tools-extra/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
====================================================
Extra Clang Tools 11.0.0 (In-Progress) Release Notes
====================================================
======================================
Extra Clang Tools 11.0.0 Release Notes
======================================

.. contents::
:local:
:depth: 3

Written by the `LLVM Team <https://llvm.org/>`_

.. warning::

These are in-progress notes for the upcoming Extra Clang Tools 11 release.
Release notes for previous releases can be found on
`the Download Page <https://releases.llvm.org/download.html>`_.

Introduction
============

Expand All @@ -27,23 +21,13 @@ For more information about Clang or LLVM, including information about
the latest release, please see the `Clang Web Site <https://clang.llvm.org>`_ or
the `LLVM Web Site <https://llvm.org>`_.

Note that if you are reading this file from a Git checkout or the
main Clang web page, this document applies to the *next* release, not
the current one. To see the release notes for a specific release, please
see the `releases page <https://llvm.org/releases/>`_.

What's New in Extra Clang Tools 11.0.0?
=======================================

Some of the major new features and improvements to Extra Clang Tools are listed
here. Generic improvements to Extra Clang Tools as a whole or to its underlying
infrastructure are described first, followed by tool-specific sections.

Major New Features
------------------

...

Improvements to clangd
----------------------

Expand Down Expand Up @@ -238,21 +222,6 @@ Miscellaneous

- Too many stability and correctness fixes to mention.

Improvements to clang-doc
-------------------------

The improvements are...

Improvements to clang-query
---------------------------

The improvements are...

Improvements to clang-rename
----------------------------

The improvements are...

Improvements to clang-tidy
--------------------------

Expand Down Expand Up @@ -439,26 +408,3 @@ Other improvements

- For `run-clang-tidy.py` add option to use alpha checkers from
`clang-analyzer`.

Improvements to include-fixer
-----------------------------

The improvements are...

Improvements to clang-include-fixer
-----------------------------------

The improvements are...

Improvements to modularize
--------------------------

The improvements are...

Improvements to pp-trace
------------------------

The improvements are...

Clang-tidy visual studio plugin
-------------------------------
17 changes: 0 additions & 17 deletions clang-tools-extra/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,6 @@ Contents
clang-doc


Doxygen Documentation
=====================
The Doxygen documentation describes the **internal** software that makes up the
tools of clang-tools-extra, not the **external** use of these tools. The Doxygen
documentation contains no instructions about how to use the tools, only the APIs
that make up the software. For usage instructions, please see the user's guide
or reference manual for each tool.

* `Doxygen documentation`_

.. _`Doxygen documentation`: doxygen/annotated.html

.. note::
This documentation is generated directly from the source code with doxygen.
Since the tools of clang-tools-extra are constantly under active
development, what you're about to read is out of date!


Indices and tables
==================
Expand Down
2 changes: 1 addition & 1 deletion clang/docs/CommandGuide/clang.rst
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ Code Generation Options
:option:`-Og` Like :option:`-O1`. In future versions, this option might
disable different optimizations in order to improve debuggability.

:option:`-O` Equivalent to :option:`-O2`.
:option:`-O` Equivalent to :option:`-O1`.

:option:`-O4` and higher

Expand Down
Loading