summaryrefslogtreecommitdiffstats
path: root/clang/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* [X86] Add -mclflushopt/-mno-clflushopt command line support and ↵Craig Topper2017-02-081-0/+2
| | | | | | __CLFLUSHOPT__ define to match gcc. llvm-svn: 294411
* Improve docs: Add missing #pragma push directive.Asiri Rathnayake2017-02-021-0/+1
| | | | | | NFC. llvm-svn: 293877
* [docs] Add help text and refine grouping for various options.Richard Smith2017-01-271-119/+129
| | | | | | Also accept -G= (and -msmall-data-threshold=) as an alias for -G on MIPS as well as Hexagon. llvm-svn: 293254
* Improve workaround for Sphinx's lack of support for command line options ↵Richard Smith2017-01-271-839/+76
| | | | | | containing '+', '.' etc. to be more stable as the set of options changes. llvm-svn: 293252
* Clarify how to forward-declare __llvm_profile symbols.Nico Weber2017-01-251-0/+2
| | | | llvm-svn: 293065
* [docs] Add TableGen-based generator for command line argument documentation,Richard Smith2017-01-242-0/+3287
| | | | | | | and generate documentation for all (non-hidden) options supported by the 'clang' driver. llvm-svn: 292968
* [sanitizer-coverage] emit __sanitizer_cov_trace_pc_guard w/o a preceding ↵Kostya Serebryany2017-01-241-6/+12
| | | | | | 'if' by default. Update the docs, also add deprecation notes around other parts of sanitizer coverage llvm-svn: 292862
* Fix documentation typo from r292558.Richard Smith2017-01-231-1/+1
| | | | llvm-svn: 292811
* [docs] Regenerate DiagnosticsReference.rst. We don't have automatic ↵Richard Smith2017-01-201-76/+447
| | | | | | generation of this set up server-side yet. llvm-svn: 292637
* Fix documentation typo.Malcolm Parsons2017-01-201-1/+1
| | | | llvm-svn: 292595
* Fix documentation typo.Richard Smith2017-01-201-1/+1
| | | | llvm-svn: 292559
* Add documentation for constexpr string builtin support.Richard Smith2017-01-201-0/+40
| | | | llvm-svn: 292558
* [docs] Tell Doxygen to expand LLVM_ALIGNAS to nothingMalcolm Parsons2017-01-191-3/+3
| | | | | | | | | | | | | | | | | Summary: Docs for clang::Decl and clang::TemplateSpecializationType have not been generated since LLVM_ALIGNAS was added to them. Tell Doxygen to expand LLVM_ALIGNAS to nothing as described at https://www.stack.nl/~dimitri/doxygen/manual/preprocessing.html Reviewers: aaron.ballman, klimek, alexfh Subscribers: ioeric, cfe-commits Differential Revision: https://reviews.llvm.org/D28850 llvm-svn: 292477
* UsersManual.rst: add missing newlineHans Wennborg2017-01-171-0/+1
| | | | llvm-svn: 292265
* Replace non-ASCII ellipsis with "..." to silence Sphinx warnings.Aaron Ballman2017-01-161-2/+2
| | | | llvm-svn: 292115
* Add -fstrict-vtable-pointers to UsersManualPiotr Padlewski2017-01-161-0/+7
| | | | | | | | | | | | | Summary: Add missing flag to UsersManual It would be good to merge it to 4.0 branch. Reviewers: hans Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28727 llvm-svn: 292112
* fix a few typo in the doc but also in the clang messagesSylvestre Ledru2017-01-142-2/+2
| | | | llvm-svn: 292015
* Remove unused lambda captures. NFCMalcolm Parsons2017-01-131-1/+2
| | | | llvm-svn: 291939
* Clear the release notes for 5.0.0Hans Wennborg2017-01-121-21/+7
| | | | llvm-svn: 291837
* Update docs/conf.py versionHans Wennborg2017-01-122-6/+6
| | | | llvm-svn: 291831
* Add entry for -MJ.Joerg Sonnenberger2017-01-121-0/+2
| | | | llvm-svn: 291814
* UsersManual.rst: Update clang-cl options list againHans Wennborg2017-01-121-0/+3
| | | | | | | | | | This time, make ignored options, such as /utf-8, show up as well if they have help text. Also, since we're now exposing -fdelayed-template-parsing, add help text to the -fno version so that shows up as well. llvm-svn: 291798
* UsersManual.rst: Update clang-cl options listHans Wennborg2017-01-121-99/+117
| | | | llvm-svn: 291783
* [Docs][OpenCL] Added OpenCL feature description to Clang documentation.Anastasia Stulova2017-01-121-0/+360
| | | | | | | Updated index and UsersManual with OpenCL description. Review: https://reviews.llvm.org/D28080 llvm-svn: 291780
* Add release notes for `diagnose_if`George Burgess IV2017-01-091-0/+4
| | | | | | | Bots seem happy with `diagnose_if` so far, so I'm optimistically adding release notes for it. llvm-svn: 291422
* Typo fix in AST matcher documentation: s/aribtrary/arbitrary/James Dennett2016-12-311-1/+1
| | | | llvm-svn: 290777
* [clang] Minor fix to libASTMatcherTutorialMads Ravn2016-12-301-2/+2
| | | | | | | | | | | | | | | | There was a small error in the code in the tutorial. The tutorial contains a few errors which results in code not being able to compile. One error was described here: https://llvm.org/bugs/show_bug.cgi?id=25583 . I found and fixed the error and one additional error. Reviewers: aaron.ballman, malcolm.parsons Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28180 llvm-svn: 290766
* Revert "Mention devirtualization in release notes"Piotr Padlewski2016-12-281-18/+0
| | | | | | | Accidental commit. LLVM changes have not been pushed yet This reverts commit 592453413690a2d16784667d1644758b9af700c1. llvm-svn: 290676
* Mention devirtualization in release notesPiotr Padlewski2016-12-281-0/+18
| | | | llvm-svn: 290675
* [ASTMatchers] Add hasInClassInitializer traversal matcher for FieldDecl.Malcolm Parsons2016-12-241-0/+16
| | | | | | | | | | | | | | | Summary: I needed to know whether a FieldDecl had an in-class initializer for D26453. I used a narrowing matcher there, but a traversal matcher might be generally useful. Reviewers: sbenza, bkramer, klimek, aaron.ballman Subscribers: aaron.ballman, Prazek, cfe-commits Differential Revision: https://reviews.llvm.org/D28034 llvm-svn: 290492
* [ASTMatchers] Fix doc for hasBitWidthMalcolm Parsons2016-12-241-2/+3
| | | | llvm-svn: 290491
* Fix example: byref struct's init was incorrect, and the block literal's ↵Jonathan Roelofs2016-12-221-2/+2
| | | | | | holder should point to it. llvm-svn: 290390
* [asan][docs] Fix the documentation to use clang++ for the C++ exampleAnna Zaks2016-12-151-3/+3
| | | | | | | | | After Darwin has been updated not to link in stdc++ on Darwin this actually started to break. Differential Revision: https://reviews.llvm.org/D27598 llvm-svn: 289887
* Update MSVC compat docs about debug infoNico Weber2016-12-141-8/+5
| | | | | | https://reviews.llvm.org/D27769 llvm-svn: 289712
* Bring back note about not supporting global register variables.Michael Kuperstein2016-12-121-0/+4
| | | | | | | | | | This was accidentally removed in r260506, even though we only support non-allocatable global register variables. The general (allocatable) case is explicitly not supported. Differential Revision: https://reviews.llvm.org/D27473 llvm-svn: 289455
* [ASTMatcher] Add hasReplacementType matcher for SubstTemplateTypeParmTypeMalcolm Parsons2016-12-081-0/+14
| | | | | | | | | | | | Summary: Needed for https://reviews.llvm.org/D27166 Reviewers: sbenza, bkramer, klimek Subscribers: aemerson, cfe-commits Differential Revision: https://reviews.llvm.org/D27447 llvm-svn: 289042
* Driver: Remove support for -fobjc-gc*Duncan P. N. Exon Smith2016-12-071-10/+0
| | | | | | | | | | | | As a first step toward removing Objective-C garbage collection from Clang, remove support from the driver. I'm hoping this will flush out any expected bots/configurations/whatever that might rely on it. I've left the options behind temporarily in -cc1 to keep tests passing. I'll kill them off entirely in a follow up when I've had a chance to update/delete the rest of Clang. llvm-svn: 288872
* [docs] Use x86_64 and i386 instead of x86 as arch for triples.Florian Hahn2016-12-051-2/+2
| | | | | | | | | | | | Summary: x86 is not a valid arch for target triples, but x86_64 and i386 are. Reviewers: rengolin, silvas Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26960 llvm-svn: 288723
* Add the --no-color option to the git call in the doc when using ↵Sylvestre Ledru2016-12-031-1/+1
| | | | | | clang-format-diff llvm-svn: 288605
* Extend CompilationDatabase by a field for the output filenameJoerg Sonnenberger2016-12-011-0/+3
| | | | | | | | | | | | | | In bigger projects like an Operating System, the same source code is often compiled in slightly different ways. This could be the difference between PIC and non-PIC code for static vs dynamic libraries, it could also be the difference between size optimised versions of tools for ramdisk images. At the moment, the compilation database has no way to distinguish such cases. As first step, add a field in the JSON format for it and process it accordingly. Differential Revision: https://reviews.llvm.org/D27138 llvm-svn: 288436
* Adds hasUnqualifiedDesugaredType to allow matching through type sugar.Manuel Klimek2016-12-011-124/+136
| | | | | | Differential Revision: https://reviews.llvm.org/D27207 llvm-svn: 288366
* [analyzer] Minor fixes and improvements to debug.ExprInspectionArtem Dergachev2016-11-301-0/+39
| | | | | | | | | | | | | | | | | | - Fix the bug with transition handling in ExprInspectionChecker's checkDeadSymbols implementation. - Test this bug by adding a new function clang_analyzer_numTimesReached() to catch number of passes through the code, which should be handy for testing against unintended state splits. - Add two more functions should help debugging issues quickly without running the debugger or dumping exploded graphs - clang_analyzer_dump() which dump()s an SVal argument to a warning message, and clang_analyzer_printState(), which dump()s the current program state to stderr. Differential Revision: https://reviews.llvm.org/D26835 llvm-svn: 288257
* Document the arguments form of commands.Joerg Sonnenberger2016-11-251-0/+2
| | | | llvm-svn: 287926
* [clang docs] Minor fix in ClangCheck.rstMandeep Singh Grang2016-11-141-3/+3
| | | | | | | | | | | | Reviewers: djasper, rengolin Subscribers: Eugene.Zelenko Tags: #clang-c Differential Revision: https://reviews.llvm.org/D26484 llvm-svn: 286846
* As we released 3.9, from the 4.0 release notes, points to version 3.9 ↵Sylvestre Ledru2016-11-121-3/+3
| | | | | | instead of 3.8 llvm-svn: 286718
* Add the new option -Og in the release notes. See r286602 for more informationSylvestre Ledru2016-11-121-1/+5
| | | | llvm-svn: 286717
* [ASTMatchers] Fix a typo in cStyleCastExpr() HTML docs as well. NFC.Artem Dergachev2016-11-111-1/+1
| | | | llvm-svn: 286651
* Add a new optimization option -Og Sylvestre Ledru2016-11-111-1/+4
| | | | | | | | | | | | | | Summary: Just like gcc, we should have the -Og option as more and more software are using it: https://llvm.org/bugs/show_bug.cgi?id=20765 Reviewers: echristo, dberlin, dblaikie, keith.walker.arm, rengolin Subscribers: aprantl, friss, mehdi_amini, RKSimon, probinson, majnemer, cfe-commits Differential Revision: https://reviews.llvm.org/D24998 llvm-svn: 286602
* [ASTMatcher] Add CXXNewExpr support to hasDeclarationMalcolm Parsons2016-10-311-0/+54
| | | | | | | | | | Reviewers: sbenza, lukasza, aaron.ballman, klimek Subscribers: lukasza, sbenza, cfe-commits Differential Revision: https://reviews.llvm.org/D26032 llvm-svn: 285644
* [Modules] Add a command line option for loading the clang builtins modulemap.Elad Cohen2016-10-311-0/+3
| | | | | | | | | -fbuiltin-module-map loads the clang builtins modulemap file. (This is equivalent to -fmodule-map-file=<resource dir>/include/module.modulemap) Differential Revision: https://reviews.llvm.org/D25767 llvm-svn: 285548
OpenPOWER on IntegriCloud