Benjamin Kramer
b919815a0c
Fix a typo (builting -> builtin).
...
Patch by Afriza N. Arief!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149822 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-05 11:24:56 +00:00
Daniel Dunbar
92d6d40483
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141692 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-11 18:20:16 +00:00
Daniel Dunbar
26e0b30455
Revert my --working-directory option, which wasn't well thought through.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140889 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-30 21:33:09 +00:00
Daniel Dunbar
63bc59bf22
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140409 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-23 20:33:41 +00:00
Chad Rosier
e2bb7b9307
Documentation for -Oz; Updated synopsis and item.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130570 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-30 02:04:10 +00:00
Chad Rosier
4525ae5cd5
Add documentation for -Oz flag.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130569 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-30 01:40:58 +00:00
Chris Lattner
fc8f0e14ad
fix a bunch of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129559 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-15 05:22:18 +00:00
Ted Kremenek
1761ce57d6
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.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127914 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-18 22:11:40 +00:00
Michael J. Spencer
dae4ac4fe5
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))
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116999 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-21 05:21:48 +00:00
Douglas Gregor
778098194d
Fix a typo in the Clang man page, from Alexander Best.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116102 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-08 21:03:07 +00:00
Douglas Gregor
51c7a789b1
Update Clang man page to say a little bit more about C++
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114735 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-24 17:26:14 +00:00
Daniel Dunbar
dea63134a5
Driver/Objective-C: Retool Objective-C ABI flags to be more usable, and actually
...
document behavior. Will wonders never cease.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114334 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-20 18:19:55 +00:00
Daniel Dunbar
3f16c959e3
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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113891 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-14 23:12:40 +00:00
Dawn Perchik
400b607546
Add support for Borland extensions via option -fborland-extensions
...
(original patch r112791 was reverted due to a bug).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112915 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-02 23:59:25 +00:00
Dawn Perchik
d0b4e7c872
Reverting rev 112791 - apparently -fborland-extensions is on all the time?!
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112797 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-02 02:18:55 +00:00
Dawn Perchik
621a2f36af
Add support for Borland extensions via option -fborland-extensions
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112791 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-02 01:12:01 +00:00
Douglas Gregor
4786c15f49
Add machine-parseable Fix-It output as part of diagnostics, under the
...
flag -fdiagnostics-parseable-fixits, from Eelis van der Weegen!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111557 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-19 20:24:43 +00:00
Daniel Dunbar
224884e426
Remove a gratuitous lie.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111253 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-17 17:34:48 +00:00
Daniel Dunbar
bc817cffbc
build: Get CLANG_VERSION from Version.inc instead of depending on VER file directly.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106864 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-25 17:33:49 +00:00
Daniel Dunbar
afed099bd2
Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.
...
- This eliminates most dependencies on how Clang is installed relative to LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105637 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-08 20:34:18 +00:00
Daniel Dunbar
073190dcb6
docs: Man page tweaks, to mention the integrated assembler and the
...
-integrated-as and -no-integrated-as options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104304 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-21 00:28:14 +00:00
mike-m
3e5d00c2c7
Reverted r103214.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103222 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-07 00:42:33 +00:00
mike-m
25a7678352
2nd part of: Overhauled llvm/clang docs builds.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103214 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-06 23:46:27 +00:00
Erick Tryzelaar
97c0007086
Use LLVM's new DESTDIR-less PROJ_* variables.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97744 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-04 20:57:19 +00:00
Rafael Espindola
4c8e611b31
Document -nobuiltininc
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85188 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-27 00:29:40 +00:00
Mike Stump
f918b8f934
Collapse more clang version numbers down into fewer places.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81983 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-16 01:26:05 +00:00
Mike Stump
1f2c32e61c
Back to 1.1 we go.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81944 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-15 23:04:22 +00:00
Daniel Dunbar
0a2329a480
Some formatting tweaks to clang(1)
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81668 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-13 02:21:55 +00:00
Daniel Dunbar
94f497b072
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72044 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-18 21:34:46 +00:00
Chris Lattner
06ab044127
wrap up a version of the man page that is minimally helpful, but somewhat complete.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71524 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-12 00:47:40 +00:00
Chris Lattner
04005ddfe1
add some more content.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71518 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-12 00:01:32 +00:00
Chris Lattner
482c682256
pull a bunch of options out of clang-cc.cpp. This doesn't include
...
options that the driver swizzles.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71487 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-11 22:45:37 +00:00
Daniel Dunbar
e58c943441
Document environment variables we handle, and don't mention -pipe (it
...
isn't yet supported... lazy developers).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71109 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 19:18:09 +00:00
Chris Lattner
9b081c6696
More content.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71088 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 17:22:08 +00:00
Chris Lattner
b5f6e808e2
add some content
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71059 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 02:47:51 +00:00
Daniel Dunbar
a3c078ee57
Override some pod2man defaults.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71045 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 00:10:37 +00:00
Daniel Dunbar
632975b0be
Make install target actually work, dependencies FTW.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70599 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-01 23:34:58 +00:00
Daniel Dunbar
e0a809265c
Add ONLY_MAN_DOCS variable to only install the man page, not the html
...
and ps documentation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70589 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-01 23:11:42 +00:00
Daniel Dunbar
dbec033d4d
Add incredibly bare bones docs/tools.
...
- Mirroring LLVM's docs/CommandGuide, a place to put .pod files which
are used to generate man/html/etc documentation for tools provided
as part of clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70355 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-29 01:00:32 +00:00