aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
AgeCommit message (Collapse)AuthorFilesLines
2017-08-31Mention the expected change to default -std= in future clang releases.Richard Smith1-0/+6
llvm-svn: 312293
2017-08-30Consistently use code font for command-line flags in the release notes.Richard Smith1-19/+18
llvm-svn: 312189
2017-08-30Add a couple of release note updates for C++ changes since Clang 4.Richard Smith1-0/+13
llvm-svn: 312187
2017-08-30ReleaseNotes: one back-tick too manyHans Wennborg1-1/+1
llvm-svn: 312155
2017-08-30ReleaseNotes: remove another in-progress warningHans Wennborg1-5/+0
llvm-svn: 312152
2017-08-30Merging r312149:Hans Wennborg1-4/+3
------------------------------------------------------------------------ r312149 | hans | 2017-08-30 11:35:44 -0700 (Wed, 30 Aug 2017) | 1 line docs: typo fix ------------------------------------------------------------------------ llvm-svn: 312150
2017-08-29Merging r311823: (+update ClangCommandLineReference.rst)Hans Wennborg1-0/+4
------------------------------------------------------------------------ r311823 | rsmith | 2017-08-25 18:04:35 -0700 (Fri, 25 Aug 2017) | 16 lines Add flag to request Clang is ABI-compatible with older versions of itself This patch adds a flag -fclang-abi-compat that can be used to request that Clang attempts to be ABI-compatible with some older version of itself. This is provided on a best-effort basis; right now, this can be used to undo the ABI change in r310401, reverting Clang to its prior C++ ABI for pass/return by value of class types affected by that change, and to undo the ABI change in r262688, reverting Clang to using integer registers rather than SSE registers for passing <1 x long long> vectors. The intent is that we will maintain this backwards compatibility path as we make ABI-breaking fixes in future. The reversion to the old behavior for r310401 is also applied to the PS4 target since that change is not part of its platform ABI (which is essentially to do whatever Clang 3.2 did). ------------------------------------------------------------------------ llvm-svn: 312013
2017-08-24ReleaseNotes: remove boiler-plate, and minor fixesHans Wennborg1-53/+1
llvm-svn: 311717
2017-08-24ReleaseNotes: drop in-progress warningHans Wennborg1-9/+3
llvm-svn: 311716
2017-08-24Release Notes fixHans Wennborg1-2/+2
Patch by Marek Kurdej! llvm-svn: 311668
2017-08-22[Docs] Added release notes for OpenCL.Anastasia Stulova1-1/+36
Differential Revision: https://reviews.llvm.org/D36951 llvm-svn: 311485
2017-08-22ReleaseNotes: coroutines update from GorHans Wennborg1-0/+9
llvm-svn: 311475
2017-08-22Mention libclang code-completion changes in release notesAlex Lorenz1-1/+23
llvm-svn: 311455
2017-08-22Mention #pragma pack PCH serialization change in release notesAlex Lorenz1-0/+4
llvm-svn: 311453
2017-08-22Mention #pragma clang attribute in the release notesAlex Lorenz1-2/+2
llvm-svn: 311452
2017-08-22Mention the ObjC property synthesis changes in release notesAlex Lorenz1-1/+10
llvm-svn: 311451
2017-08-22[Sema] Update release notes with details of implicit scalar to vector ↵Simon Dardis1-1/+39
conversions Add notes on this to the C language section, along with the C++ section. Reviewers: bruno, hans Differential Revision: https://reviews.llvm.org/D36954 llvm-svn: 311441
2017-08-21Update Clang 5.0 release notes for ms_abi and __builtin_ms_va_list for aarch64Martin Storsjo1-0/+2
Differential Revision: https://reviews.llvm.org/D36931 llvm-svn: 311359
2017-08-21Mention some warning-related additions and changes for LLVM 5Alex Lorenz1-0/+19
release notes llvm-svn: 311357
2017-08-19Update LLVM 5.0 release notes for clang.cindex changesJonathan Coe1-0/+12
Summary: This patch should be applied to clang 5.0 release notes, NOT to trunk. Reviewers: rengolin, hans Reviewed By: hans Differential Revision: https://reviews.llvm.org/D36902 llvm-svn: 311219
2017-08-19Add release notes for r299463.Dominic Chen1-1/+7
Implement z3-based constraint solver backend for clang static analyzer. llvm-svn: 311213
2017-08-11Merging r310700:Hans Wennborg1-1/+1
------------------------------------------------------------------------ r310700 | yamaguchi | 2017-08-11 02:44:42 -0700 (Fri, 11 Aug 2017) | 11 lines [Bash-autocompletion] Add --autocomplete flag to 5.0 release notes Summary: I thought we should add this information to release notes, because we added a new flag to clang driver. Reviewers: v.g.vassilev, teemperor, ruiu Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D36567 ------------------------------------------------------------------------ llvm-svn: 310723
2017-07-21Regenerate ClangCommandLineReference.rstHans Wennborg1-6/+44
I ran: $ bin/clang-tblgen -gen-opt-docs -I../cfe.src/include \ -I../cfe.src/include/clang/Driver -I../llvm.src/include \ ../cfe.src/include/clang/Driver/ClangOptionDocs.td \ -o ../cfe.src/docs/ClangCommandLineReference.rst llvm-svn: 308720
2017-07-19Generate docs/AttributeReference.rstHans Wennborg1-6/+3464
$ bin/clang-tblgen -gen-attr-docs -I../cfe.src/include \ ../cfe.src/include/clang/Basic/Attr.td \ -o ../cfe.src/docs/AttributeReference.rst llvm-svn: 308481
2017-07-19Update clang-cl options in the users manualHans Wennborg1-0/+47
llvm-svn: 308427
2017-07-14Fix flag names in @available docs.Nico Weber1-2/+2
llvm-svn: 308048
2017-07-14Add documentation for @availableNico Weber1-2/+81
https://reviews.llvm.org/D35379 llvm-svn: 308044
2017-07-14Add release notes for the overloadable attributeGeorge Burgess IV1-1/+3
llvm-svn: 307995
2017-07-11[ASTMatchers][NFC] integerLiteral(): Mention negative integers inClement Courbet1-0/+32
documentation. Trying to match integerLiteral(-1) will silently fail, because an numeric literal is always positive. - Update the documentation to explain how to match negative numeric literals. - Add a unit test. Differential Revision: https://reviews.llvm.org/D35196 llvm-svn: 307663
2017-07-07Update Cross-DSO CFI documentation.Evgeniy Stepanov1-14/+28
Reviewers: pcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D35094 llvm-svn: 307341
2017-07-05Add docs for -foptimization-record-file=Brian Gesiak1-0/+13
Summary: The Clang option was previously not included in the User's Manual. Reviewers: anemet, davidxl, hfinkel Reviewed By: hfinkel Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D34928 llvm-svn: 307193
2017-07-03[clang] Implement -Wcast-qual for C++Roman Lebedev1-0/+3
Summary: This way, the behavior of that warning flag more closely resembles that of GCC. Do note that there is at least one false-negative (see FIXME in tests). Fixes PR4802. Testing: ``` ninja check-clang-sema check-clang-semacxx ``` Reviewers: dblaikie, majnemer, rnk Reviewed By: dblaikie, rnk Subscribers: mclow.lists, cfe-commits, alexfh, rnk Differential Revision: https://reviews.llvm.org/D33102 llvm-svn: 307045
2017-07-01Add an option group for deprecated warnings. Add the removedJoerg Sonnenberger1-0/+10
-fslp-vectorize-aggressive and -fno-slp-vectorize-aggressive flags back under this group and test for the warning. Document the future removal in the ReleaseNotes. Differential Revision: https://reviews.llvm.org/D34926 llvm-svn: 306965
2017-07-01Un-revert "[Driver] Add -fdiagnostics-hotness-threshold"Brian Gesiak1-7/+33
Summary: Un-revert https://reviews.llvm.org/D34868, but with a slight tweak to the documentation to fix an error -- I had used the wrong syntax for a link. llvm-svn: 306948
2017-07-01Revert "[Driver] Add -fdiagnostics-hotness-threshold"Brian Gesiak1-33/+7
Summary: The commit caused a documentation breakage. llvm-svn: 306946
2017-07-01[Driver] Add -fdiagnostics-hotness-thresholdBrian Gesiak1-7/+33
Summary: Depends on https://reviews.llvm.org/D34867. Add a Clang frontend option to enable optimization remark hotness thresholds, which were added to LLVM in https://reviews.llvm.org/D34867. This prevents diagnostics that do not meet a minimum hotness threshold from being output. When generating optimization remarks for large codebases with a ton of cold code paths, this option can be used to limit the optimization remark output at a reasonable size. Discussion of this change can be read here: http://lists.llvm.org/pipermail/llvm-dev/2017-June/114377.html Reviewers: anemet, davidxl, hfinkel Reviewed By: anemet Subscribers: fhahn, cfe-commits Differential Revision: https://reviews.llvm.org/D34868 llvm-svn: 306945
2017-06-26clang-format - Also reference the list of style option of clang-format in ↵Sylvestre Ledru1-1/+3
Libformat llvm-svn: 306266
2017-06-26Fix a typoSylvestre Ledru1-1/+1
llvm-svn: 306261
2017-06-23Add a ThinLTO cache policy for controlling the maximum cache size in bytes.Peter Collingbourne1-0/+12
This is useful when an upper limit on the cache size needs to be controlled independently of the amount of the amount of free space. One use case is a machine with a large number of cache directories (e.g. a buildbot slave hosting a large number of independent build jobs). By imposing an upper size limit on each cache directory, users can more easily estimate the server's capacity. Differential Revision: https://reviews.llvm.org/D34547 llvm-svn: 306126
2017-06-23docs: Add documentation for the ThinLTO cache pruning policy string.Peter Collingbourne1-0/+32
Differential Revision: https://reviews.llvm.org/D34546 llvm-svn: 306125
2017-06-23[clang-format] Add a SortUsingDeclaration option and enable it by defaultKrasimir Georgiev1-0/+9
Summary: This patch adds a `SortUsingDeclaration` style option and enables it for llvm style. Reviewers: klimek Reviewed By: klimek Subscribers: klimek Differential Revision: https://reviews.llvm.org/D34453 llvm-svn: 306094
2017-06-23[clang-format] Update dump_format_style.py to indent nested fieldsKrasimir Georgiev2-107/+108
Summary: This updates the format options documentation script to indent the documentation of nested fields. The previous format caused some problems, as when a bulleted list ends with a multiline comment. See the buildbot failure http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/10020/steps/docs-clang-html/logs/stdio Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D34552 llvm-svn: 306093
2017-06-23[clang-format] Update style documentation, NFCKrasimir Georgiev1-13/+96
Summary: Style documentation is generated automatically by `docs/tools/dump_format_style.py`. This hasn't been ran for a while. Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D34457 llvm-svn: 306089
2017-06-19[docs] Coverage: Improve the wording a bitVedant Kumar1-3/+3
llvm-svn: 305745
2017-06-19[docs] Coverage: document issue with the BFD linkerVedant Kumar1-0/+5
llvm-svn: 305743
2017-06-19Typo fix: appropo -> apropos. NFC.Aaron Ballman1-4/+4
llvm-svn: 305738
2017-06-19clang-format: Add capability to format the diff on save in vim.Daniel Jasper1-0/+12
With this patch, one can configure a BufWrite hook that will make the clang-format integration compute a diff of the current buffer with the file that's on disk and format all changed lines. This should create a zero-overhead auto-format solution that doesn't require the file to already be clang-format clean to avoid spurious diffs. Review: https://reviews.llvm.org/D32429 llvm-svn: 305665
2017-06-16[ubsan] docs: Add a note about pointers to volatileVedant Kumar1-0/+6
llvm-svn: 305568
2017-06-15Correct documentation about the AfterClass clang-format optionEric Fiselier1-5/+5
llvm-svn: 305450
2017-06-13[docs] Add some ubsan changes to the release notesVedant Kumar1-0/+25
llvm-svn: 305269