summaryrefslogtreecommitdiffstats
path: root/clang/docs/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Rewrite eachOf/allOf/anyOf to use a variadic operator.Samuel Benzaquen2013-08-271-1/+10
| | | | | | | | | | | | | | Summary: Rewrite eachOf/allOf/anyOf to use a variadic operator, instead of hand-written calls to Polymorphic matchers. This simplifies their definition and future changes to add them to the dynamic registry. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1427 llvm-svn: 189357
* Refactor ArgumentAdaptativeMatcher matchers to remove the template from ↵Samuel Benzaquen2013-08-161-0/+10
| | | | | | | | | | | | | | | | their declaration. Summary: Refactor ArgumentAdaptativeMatcher matchers to remove the template from their declaration. This facilitates dynamic registration. Change the registry code to use the regular overload resolution mechanism for adaptative matchers. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1402 llvm-svn: 188560
* Fix incorrect documentation generation for type matchers.Manuel Klimek2013-07-251-2/+4
| | | | llvm-svn: 187104
* Add support for type traversal matchers.Samuel Benzaquen2013-07-151-6/+9
| | | | | | | | | | | | | | | Summary: Fixup the type traversal macros/matchers to specify the supported types. Make the marshallers a little more generic to support any variadic function. Update the doc script. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1023 llvm-svn: 186340
* Add support for polymorphic matchers. Use runtime type checking to determine ↵Samuel Benzaquen2013-06-211-3/+27
| | | | | | the right polymorphic overload to use. llvm-svn: 184558
* Add description of -Ofast optimization option to the man page. <rdar://13660458>Bob Wilson2013-04-171-3/+5
| | | | llvm-svn: 179733
* Cleanup of ASTMatcher macros and adding support for overloaded matchers.Manuel Klimek2013-02-061-1/+2
| | | | | | | | | | This is in preparation for adding other overloaded matchers. This change alone is a net win in LOC. I went through all matchers and looked whether we could now encode them as macro, or simplify them with the matcher atoms that were not available before. llvm-svn: 174540
* Revert "Remove sparse text on diagnostic options. These are not really ↵Ted Kremenek2013-02-051-0/+21
| | | | | | | | documented anywhere, and they really aren't for normal users." I changed my mind. We should just document these in the man page. llvm-svn: 174344
* Remove sparse text on diagnostic options. These are not really documented ↵Ted Kremenek2013-02-051-21/+0
| | | | | | anywhere, and they really aren't for normal users. llvm-svn: 174338
* Fixes dump_ast_matchers to parse all matcher macros and updates theManuel Klimek2013-01-091-5/+36
| | | | | | docs. llvm-svn: 171962
* Fix copy-paste error in manpage. Should be -stdlib=library.Ted Kremenek2012-09-141-1/+1
| | | | llvm-svn: 163914
* Revert "Remove clang man page reference to -Oz. It's not an option we want ↵Ted Kremenek2012-09-101-3/+4
| | | | | | | | people to use, and is around for historical reasons." This should be discussed more first. llvm-svn: 163560
* Remove clang man page reference to -Oz. It's not an option we want people ↵Ted Kremenek2012-09-101-4/+3
| | | | | | to use, and is around for historical reasons. llvm-svn: 163538
* Introduces anchors into LibASTMatchersReference.html.Manuel Klimek2012-09-071-1/+1
| | | | | | | | This allows linking to LibASTMatchersRefernce.html#<matcher><N>Anchor to link to the N'the declaration of a matcher and automatically expand its documentation. llvm-svn: 163386
* This is a temporary solution until we have a better way toManuel Klimek2012-08-271-0/+264
| | | | | | | | | | parse doxygen comments for macros with libclang. I'm not entirely happy about this script, but as it saves a lot of work in keeping the docs up to date with the actual code I think checking it in makes sense. llvm-svn: 162690
* Add -ftls-model command-line flag.Hans Wennborg2012-06-281-0/+8
| | | | | | This allows for setting the default TLS model. (PR9788) llvm-svn: 159336
* Fix a typo (builting -> builtin).Benjamin Kramer2012-02-051-1/+1
| | | | | | Patch by Afriza N. Arief! llvm-svn: 149822
* Driver: Add support for a new -nostdlibinc option.Daniel Dunbar2011-10-111-1/+7
| | | | | | | | | | | | - This disables the system include directories, but not the compiler builtin directories. Useful for projects that want to use things like the intrinsic headers, but are otherwise freestanding. - I'm willing to reconsider the option naming, I also considered providing an explicit -builtinc (which would match -nobuiltininc), but this is more consistent with existing options. llvm-svn: 141692
* Revert my --working-directory option, which wasn't well thought through.Daniel Dunbar2011-09-301-7/+0
| | | | llvm-svn: 140889
* Driver: Add a --working-directory option which can be used to cause the compilerDaniel Dunbar2011-09-231-0/+7
| | | | | | | | | | to operate "as if" in a certain working directory. - For now, we just implement this by changing the actual working directory, but eventually we would want to handle this transparently. This is useful to avoid an extra exec() pair in some situations, and will be something we would want to support for more flexibility in using the Clang libraries. llvm-svn: 140409
* Documentation for -Oz; Updated synopsis and item.Chad Rosier2011-04-301-2/+2
| | | | llvm-svn: 130570
* Add documentation for -Oz flag.Chad Rosier2011-04-301-1/+2
| | | | llvm-svn: 130569
* fix a bunch of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559
* Remove '-Xclang' and '-mllvm' entries from Clang man page. The later is ↵Ted Kremenek2011-03-181-8/+0
| | | | | | only available in debug builds and the former is not supposed to be used by end-users. llvm-svn: 127914
* Reorganize predefined macros for all Windows targets.Michael J. Spencer2010-10-211-0/+4
| | | | | | | | | | This adds an option to set the _MSC_VER macro without recompiling. This is very useful when testing compatibility with the Windows SDK and c++stdlib headers. -fmsc-version=<version> (defaults to VS2003 (1300)) llvm-svn: 116999
* Fix a typo in the Clang man page, from Alexander Best.Douglas Gregor2010-10-081-1/+1
| | | | llvm-svn: 116102
* Update Clang man page to say a little bit more about C++Douglas Gregor2010-09-241-3/+4
| | | | llvm-svn: 114735
* Driver/Objective-C: Retool Objective-C ABI flags to be more usable, and actuallyDaniel Dunbar2010-09-201-1/+16
| | | | | | document behavior. Will wonders never cease. llvm-svn: 114334
* Driver: Add a -stdlib= argument which can be used to select the C++ standardDaniel Dunbar2010-09-141-0/+6
| | | | | | | | | | | library to use. - This is currently useful for testing libc++; you can now use 'clang++ -stdlib=libc++ t.cpp' to compile using it if installed. - In the future could also be used to select other standard library choices if alternatives become available (for example, to use an alternate C library). llvm-svn: 113891
* Add support for Borland extensions via option -fborland-extensionsDawn Perchik2010-09-021-0/+4
| | | | | | (original patch r112791 was reverted due to a bug). llvm-svn: 112915
* Reverting rev 112791 - apparently -fborland-extensions is on all the time?!Dawn Perchik2010-09-021-4/+0
| | | | llvm-svn: 112797
* Add support for Borland extensions via option -fborland-extensionsDawn Perchik2010-09-021-0/+4
| | | | llvm-svn: 112791
* Add machine-parseable Fix-It output as part of diagnostics, under theDouglas Gregor2010-08-191-0/+1
| | | | | | flag -fdiagnostics-parseable-fixits, from Eelis van der Weegen! llvm-svn: 111557
* Remove a gratuitous lie.Daniel Dunbar2010-08-171-1/+0
| | | | llvm-svn: 111253
* build: Get CLANG_VERSION from Version.inc instead of depending on VER file ↵Daniel Dunbar2010-06-251-1/+2
| | | | | | directly. llvm-svn: 106864
* Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.Daniel Dunbar2010-06-081-2/+2
| | | | | | - This eliminates most dependencies on how Clang is installed relative to LLVM. llvm-svn: 105637
* docs: Man page tweaks, to mention the integrated assembler and theDaniel Dunbar2010-05-211-6/+19
| | | | | | -integrated-as and -no-integrated-as options. llvm-svn: 104304
* Reverted r103214.mike-m2010-05-071-0/+115
| | | | llvm-svn: 103222
* 2nd part of: Overhauled llvm/clang docs builds.mike-m2010-05-061-115/+0
| | | | llvm-svn: 103214
* Use LLVM's new DESTDIR-less PROJ_* variables.Erick Tryzelaar2010-03-041-3/+3
| | | | llvm-svn: 97744
* Document -nobuiltinincRafael Espindola2009-10-271-0/+4
| | | | llvm-svn: 85188
* Collapse more clang version numbers down into fewer places.Mike Stump2009-09-161-1/+4
| | | | llvm-svn: 81983
* Back to 1.1 we go.Mike Stump2009-09-151-1/+1
| | | | llvm-svn: 81944
* Some formatting tweaks to clang(1)Daniel Dunbar2009-09-131-24/+24
| | | | llvm-svn: 81668
* Several fixes to the clang man page.Daniel Dunbar2009-05-181-24/+21
| | | | | | | | | | | | | | - -emit-llvm isn't a stage selection option. - Document -O4 and -flto. - -ObjC++ and -ObjC apply to all inputs, not subsequent ones. - Some versions of pod2man aren't happy about the comment after =over=? - Some minor grammar fixes. llvm-svn: 72044
* wrap up a version of the man page that is minimally helpful, but somewhat ↵Chris Lattner2009-05-121-45/+31
| | | | | | complete. llvm-svn: 71524
* add some more content.Chris Lattner2009-05-121-80/+182
| | | | llvm-svn: 71518
* pull a bunch of options out of clang-cc.cpp. This doesn't includeChris Lattner2009-05-112-18/+142
| | | | | | options that the driver swizzles. llvm-svn: 71487
* Document environment variables we handle, and don't mention -pipe (itDaniel Dunbar2009-05-061-8/+30
| | | | | | isn't yet supported... lazy developers). llvm-svn: 71109
* More content.Chris Lattner2009-05-061-23/+82
| | | | llvm-svn: 71088
OpenPOWER on IntegriCloud