John McCall
3a47e23471
Document the extensions I made to the diagnostics-formatting system yesterday.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93439 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-14 19:12:17 +00:00
Douglas Gregor
9cc90a3201
Fix pasto in __has_feature(cxx_lambdas) docs
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93320 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-13 16:27:49 +00:00
Sean Hunt
4ef4c6b232
Add a bunch more feature-checking macros for C++0x features. Some of these are
...
disabled with the intent that users can start with them now and not have to change
a thing to have them work when we implement the features.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93312 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-13 08:31:49 +00:00
Nuno Lopes
b23f20d720
revert part of my last patch, and mark only the c++ global new operator as noalias. the rest will be infered by llvm optz
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91600 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-17 10:15:49 +00:00
Nuno Lopes
aa52624019
document -fno-assume-sane-operator-new, per Chris request.
...
please review for English grammar mistakes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91599 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-17 10:00:52 +00:00
Mike Stump
88b2a17ef7
Refine a little. WIP.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91502 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-16 03:25:12 +00:00
Mike Stump
8f6a3eda13
Add some documentation for recent checkins. WIP.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91500 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-16 03:18:14 +00:00
Mike Stump
53664ca7be
Add documentation for recently added code. WIP.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91367 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-14 23:53:10 +00:00
Daniel Dunbar
69cfd86cd2
Update a few more docs references to clang-cc.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91178 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-11 23:17:03 +00:00
Zhongxing Xu
77f4165918
brace completion.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90833 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-08 05:05:26 +00:00
Ted Kremenek
0eb9560485
Fix typo.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90390 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-03 02:06:43 +00:00
Ted Kremenek
22c3410223
Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of contents.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90389 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-03 02:05:57 +00:00
Ted Kremenek
87774fd486
Add section on what language features __has_feature() supports for querying if they are enabled.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90388 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-03 02:04:01 +00:00
Douglas Gregor
cd5a5056e0
Fix a broken link
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86545 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-09 15:15:41 +00:00
John Thompson
92bd8c70a6
Added __has_include and __has_include_next.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85834 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-02 22:28:12 +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
Chris Lattner
21190d5463
Implement __builtin_unreachable(), a GCC 4.5 extension.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82433 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-21 03:09:59 +00:00
Chris Lattner
aad826b387
grammaro
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82070 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-16 18:56:12 +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
Chris Lattner
d3509faadc
clang tracks multiple levels of macro expansion
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81811 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-14 23:44:08 +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
Eli Friedman
47421a2dda
As far as I know, there aren't any warning differences between -std=gnu99 and
...
-std=c99 modes, etc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80133 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-26 20:18:00 +00:00
Daniel Dunbar
93d2dc4882
Fix a few typos.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78991 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-14 04:43:04 +00:00
Chris Lattner
3401cf879f
document the diagnostics pragmas, patch by Louis Gerbarg!
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75432 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-12 21:22:10 +00:00
Argyrios Kyrtzidis
7240d77c96
Add documentation for the Index library to clang's web page.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75222 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-10 03:41:36 +00:00
Douglas Gregor
e650c8c3bc
Introduce the notion of "Relocatable" precompiled headers, which are built
...
with a particular system root directory and can be used with a different
system root directory when the headers it depends on have been installed.
Relocatable precompiled headers rewrite the file names of the headers used
when generating the PCH file into the corresponding file names of the
headers available when using the PCH file.
Addresses <rdar://problem/7001604>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74885 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-07 00:12:59 +00:00
Nick Lewycky
625b5864b5
Fix "for all intensive purposes" to "for all intents and purposes".
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73323 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-14 04:08:08 +00:00
Chris Lattner
e42ec54dff
fix typo
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73304 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-13 20:35:58 +00:00
Chris Lattner
57eccbea12
a couple minor tweaks
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73296 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-13 18:11:10 +00:00
Chris Lattner
148772a841
implement and document a new __has_feature and __has_builtin magic
...
builtin preprocessor macro. This appears to work with two caveats:
1) builtins are registered in -E mode, and 2) target-specific builtins
are unconditionally registered even if they aren't supported by the
target (e.g. SSE4 builtin when only SSE1 is enabled).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73289 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-13 07:13:28 +00:00
Eli Friedman
0b32600195
Minor formatting tweak.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73251 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 20:11:05 +00:00
Eli Friedman
2f3fca0fe1
Fix a minor formatting mistake.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73250 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 20:08:48 +00:00
Eli Friedman
ca130bd838
Some updates to the gcc extension sections of the users manual.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73249 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 20:04:25 +00:00
Eli Friedman
a1821b5f8b
Minor documentation update about Microsoft extensions.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73052 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-08 06:21:03 +00:00
Eli Friedman
3b658d3ecb
Say a bit about various architectures in the users manual.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73044 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-08 05:12:39 +00:00
Daniel Dunbar
c5f928ca2a
Mention unsupported GCC duplicate-definition-with-inline extension.
...
Also, link users manual from the main web page.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72878 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 18:37:52 +00:00
Douglas Gregor
f4d5953135
PTH -> PCH in the user manual
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72815 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 22:37:00 +00:00
Douglas Gregor
29dde39ae4
HTML tweak to get the PCH internals documentation to display correctly
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72813 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:57:43 +00:00
Douglas Gregor
4c0397fe14
Finished the PCH design and implementation documentation
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72812 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:55:35 +00:00
Douglas Gregor
0084ead1f8
Document the integration points for precompiled headers
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72809 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:41:31 +00:00
Douglas Gregor
923cb23eab
Add a table of contents to the PCH design document
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72791 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 18:35:59 +00:00
Douglas Gregor
fe3f223de8
Document the PCH representation of statements and expressions
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72790 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 18:26:16 +00:00
Douglas Gregor
5accbb99ef
Fill in some gaps in the precompiled headers documentation
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72779 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 16:06:22 +00:00
Douglas Gregor
2cc390e620
More PCH documentation
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72743 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-02 22:08:07 +00:00
Eli Friedman
4da925578a
A couple minor corrections to the "GCC extensions not implemented yet"
...
section of the users manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72725 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-02 08:21:31 +00:00
Eli Friedman
26fa0edd63
A few tweaks to the "Differences between various standard modes"
...
section.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72501 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-27 23:02:57 +00:00
Douglas Gregor
32110dfd1c
Start documenting precompiled headers
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72146 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-20 00:16:32 +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
Eli Friedman
b0ac545b84
A few minor updates to the user manual.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71964 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-16 23:17:30 +00:00