Samuel Benzaquen
c6f2c9b566
Add support for polymorphic matchers. Use runtime type checking to determine the right polymorphic overload to use.
...
llvm-svn: 184558
2013-06-21 15:51:31 +00:00
Bob Wilson
fd4f39e893
Add description of -Ofast optimization option to the man page. <rdar://13660458>
...
llvm-svn: 179733
2013-04-17 22:32:43 +00:00
Manuel Klimek
4feac28e0e
Cleanup of ASTMatcher macros and adding support for overloaded matchers.
...
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
2013-02-06 20:36:22 +00:00
Ted Kremenek
653f523664
Revert "Remove sparse text on diagnostic options. These are not really 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
2013-02-05 06:33:47 +00:00
Ted Kremenek
e2af9b5d2c
Remove sparse text on diagnostic options. These are not really documented anywhere, and they really aren't for normal users.
...
llvm-svn: 174338
2013-02-05 05:55:21 +00:00
Manuel Klimek
cdd5c2397a
Fixes dump_ast_matchers to parse all matcher macros and updates the
...
docs.
llvm-svn: 171962
2013-01-09 09:38:21 +00:00
Ted Kremenek
efc32c0857
Fix copy-paste error in manpage. Should be -stdlib=library.
...
llvm-svn: 163914
2012-09-14 17:20:56 +00:00
Ted Kremenek
eedc12a140
Revert "Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons."
...
This should be discussed more first.
llvm-svn: 163560
2012-09-10 22:50:05 +00:00
Ted Kremenek
8ba803d8d3
Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons.
...
llvm-svn: 163538
2012-09-10 20:10:37 +00:00
Manuel Klimek
8bad94765a
Introduces anchors into LibASTMatchersReference.html.
...
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
2012-09-07 13:10:32 +00:00
Manuel Klimek
de06338a08
This is a temporary solution until we have a better way to
...
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
2012-08-27 18:49:12 +00:00
Hans Wennborg
f60f6af9e8
Add -ftls-model command-line flag.
...
This allows for setting the default TLS model. (PR9788)
llvm-svn: 159336
2012-06-28 08:01:44 +00:00
Benjamin Kramer
a20863e67d
Fix a typo (builting -> builtin).
...
Patch by Afriza N. Arief!
llvm-svn: 149822
2012-02-05 11:24:56 +00:00
Daniel Dunbar
0f41eee2a0
Driver: Add support for a new -nostdlibinc option.
...
- 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
2011-10-11 18:20:16 +00:00
Daniel Dunbar
920844c36e
Revert my --working-directory option, which wasn't well thought through.
...
llvm-svn: 140889
2011-09-30 21:33:09 +00:00
Daniel Dunbar
10d398f894
Driver: Add a --working-directory option which can be used to cause the compiler
...
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
2011-09-23 20:33:41 +00:00
Chad Rosier
b9a8525bab
Documentation for -Oz; Updated synopsis and item.
...
llvm-svn: 130570
2011-04-30 02:04:10 +00:00
Chad Rosier
bc8d7c27d9
Add documentation for -Oz flag.
...
llvm-svn: 130569
2011-04-30 01:40:58 +00:00
Chris Lattner
57540c5be0
fix a bunch of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
llvm-svn: 129559
2011-04-15 05:22:18 +00:00
Ted Kremenek
d15609a582
Remove '-Xclang' and '-mllvm' entries from Clang man page. The later is only available in debug builds and the former is not supposed to be used by end-users.
...
llvm-svn: 127914
2011-03-18 22:11:40 +00:00
Michael J. Spencer
4992ca4b17
Reorganize predefined macros for all Windows targets.
...
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
2010-10-21 05:21:48 +00:00
Douglas Gregor
63b0a1e9fb
Fix a typo in the Clang man page, from Alexander Best.
...
llvm-svn: 116102
2010-10-08 21:03:07 +00:00
Douglas Gregor
3aa045491f
Update Clang man page to say a little bit more about C++
...
llvm-svn: 114735
2010-09-24 17:26:14 +00:00
Daniel Dunbar
c1dd0e97f3
Driver/Objective-C: Retool Objective-C ABI flags to be more usable, and actually
...
document behavior. Will wonders never cease.
llvm-svn: 114334
2010-09-20 18:19:55 +00:00
Daniel Dunbar
092b6fb187
Driver: Add a -stdlib= argument which can be used to select the C++ standard
...
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
2010-09-14 23:12:40 +00:00
Dawn Perchik
68bb1b441f
Add support for Borland extensions via option -fborland-extensions
...
(original patch r112791 was reverted due to a bug).
llvm-svn: 112915
2010-09-02 23:59:25 +00:00
Dawn Perchik
f0882f90f3
Reverting rev 112791 - apparently -fborland-extensions is on all the time?!
...
llvm-svn: 112797
2010-09-02 02:18:55 +00:00
Dawn Perchik
1fcc18c7bc
Add support for Borland extensions via option -fborland-extensions
...
llvm-svn: 112791
2010-09-02 01:12:01 +00:00
Douglas Gregor
eec975ce5a
Add machine-parseable Fix-It output as part of diagnostics, under the
...
flag -fdiagnostics-parseable-fixits, from Eelis van der Weegen!
llvm-svn: 111557
2010-08-19 20:24:43 +00:00
Daniel Dunbar
71323e66b6
Remove a gratuitous lie.
...
llvm-svn: 111253
2010-08-17 17:34:48 +00:00
Daniel Dunbar
283fe3d07a
build: Get CLANG_VERSION from Version.inc instead of depending on VER file directly.
...
llvm-svn: 106864
2010-06-25 17:33:49 +00:00
Daniel Dunbar
e6c1daa8fd
Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.
...
- This eliminates most dependencies on how Clang is installed relative to LLVM.
llvm-svn: 105637
2010-06-08 20:34:18 +00:00
Daniel Dunbar
95dff818e7
docs: Man page tweaks, to mention the integrated assembler and the
...
-integrated-as and -no-integrated-as options.
llvm-svn: 104304
2010-05-21 00:28:14 +00:00
mike-m
9f08a6f1a8
Reverted r103214.
...
llvm-svn: 103222
2010-05-07 00:42:33 +00:00
mike-m
9bb682b713
2nd part of: Overhauled llvm/clang docs builds.
...
llvm-svn: 103214
2010-05-06 23:46:27 +00:00
Erick Tryzelaar
e62248a79c
Use LLVM's new DESTDIR-less PROJ_* variables.
...
llvm-svn: 97744
2010-03-04 20:57:19 +00:00
Rafael Espindola
bb85c2644a
Document -nobuiltininc
...
llvm-svn: 85188
2009-10-27 00:29:40 +00:00
Mike Stump
b4bed3a497
Collapse more clang version numbers down into fewer places.
...
llvm-svn: 81983
2009-09-16 01:26:05 +00:00
Mike Stump
e18856dad1
Back to 1.1 we go.
...
llvm-svn: 81944
2009-09-15 23:04:22 +00:00
Daniel Dunbar
5e2de9fe00
Some formatting tweaks to clang(1)
...
llvm-svn: 81668
2009-09-13 02:21:55 +00:00
Daniel Dunbar
f7a24e176c
Several fixes to the clang man page.
...
- -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
2009-05-18 21:34:46 +00:00
Chris Lattner
32efff659c
wrap up a version of the man page that is minimally helpful, but somewhat complete.
...
llvm-svn: 71524
2009-05-12 00:47:40 +00:00
Chris Lattner
66c64f9ba4
add some more content.
...
llvm-svn: 71518
2009-05-12 00:01:32 +00:00
Chris Lattner
e3c3f40404
pull a bunch of options out of clang-cc.cpp. This doesn't include
...
options that the driver swizzles.
llvm-svn: 71487
2009-05-11 22:45:37 +00:00
Daniel Dunbar
16af476c42
Document environment variables we handle, and don't mention -pipe (it
...
isn't yet supported... lazy developers).
llvm-svn: 71109
2009-05-06 19:18:09 +00:00
Chris Lattner
164ac10f82
More content.
...
llvm-svn: 71088
2009-05-06 17:22:08 +00:00
Chris Lattner
2080787636
add some content
...
llvm-svn: 71059
2009-05-06 02:47:51 +00:00
Daniel Dunbar
94fa27171b
Override some pod2man defaults.
...
llvm-svn: 71045
2009-05-06 00:10:37 +00:00
Daniel Dunbar
6d0eecad6c
Make install target actually work, dependencies FTW.
...
llvm-svn: 70599
2009-05-01 23:34:58 +00:00
Daniel Dunbar
c52d01f8d9
Add ONLY_MAN_DOCS variable to only install the man page, not the html
...
and ps documentation.
llvm-svn: 70589
2009-05-01 23:11:42 +00:00