Chris Lattner
67db8cdbcf
fix incorrect tag
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105189 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-30 23:42:51 +00:00
Daniel Dunbar
94849689c1
Update "users manual", PR2461 has been fixed.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104997 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-28 19:43:31 +00:00
Nick Lewycky
8ee411e40f
Fix typo.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104898 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-27 23:40:55 +00:00
Nick Lewycky
77561e584a
Grammar fix: s/it's/its/g in
...
"it's spelling location and it's instantiation location"
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104746 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-26 21:48:10 +00:00
Chris Lattner
3f14538ec2
push categories forward a bit more: document them, add some
...
major buckets to catch parser and sema issues, add inline asm
category, and make diag groups take precedence over the
sweeping categories just added.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104561 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-24 21:35: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
Chris Lattner
28a43a4361
document -fdiagnostics-show-category
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103067 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-05 01:35:28 +00:00
Chris Lattner
4c50b697bb
fix a broken link, diagnostickinds.td was fissioned.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102851 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-01 17:35:19 +00:00
Douglas Gregor
4290fbd89e
Add Clang version inspection macros. Fixes PR6681.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102686 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-30 02:51:06 +00:00
Nick Lewycky
1444aefa63
concepts is not a keyword here and fix copy-pasto.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102172 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-23 06:09:40 +00:00
Douglas Gregor
575cf37912
Introduce a limit on the depth of the template instantiation backtrace
...
we will print with each error that occurs during template
instantiation. When the backtrace is longer than that, we will print
N/2 of the innermost backtrace entries and N/2 of the outermost
backtrace entries, then skip the middle entries with a note such as:
note: suppressed 2 template instantiation contexts; use
-ftemplate-backtrace-limit=N to change the number of template
instantiation entries shown
This should eliminate some excessively long backtraces that aren't
providing any value.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101882 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-20 07:18:24 +00:00
Chris Lattner
0f0c963f9b
add a new driver-level -ferror-limit=412 option, which causes clang to stop
...
emitting diagnostics after it has produced that many errors. Give this a
default value of 20 which produces plenty of errors for people to fix before
recompiling but not so many that their entire console scrolls away when the
compiler gets confused. The experience looks like this:
$ clang foo.c
<tons of crap>
foo.c:102:3: error: unknown type name 'somethingbad'
somethingbad x;
^
fatal error: too many errors emitted, stopping now
36 warnings and 20 errors generated.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100689 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-07 20:49:23 +00:00
Blaine Garst
69ecbdbe7a
improved wording around ABI
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100536 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-06 17:46:43 +00:00
Rafael Espindola
9b2fc9563f
Document common clang compatibility issues.
...
Patch by Zhanyong Wan.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98708 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-17 04:31:53 +00:00
Blaine Garst
a98c27ba83
fix copyright & typo
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98688 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-16 22:02:16 +00:00
Chris Lattner
5d7650b71b
update link
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98682 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-16 21:43:03 +00:00
Blaine Garst
12cd2c57b9
at least give the Apple ABI a name that reflects Apple in prep for other ABI specs that might come along
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98678 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-16 21:22:41 +00:00
Blaine Garst
6757aaa123
rev existing doc to account for recent ABI changes
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98676 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-16 21:21:07 +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
Douglas Gregor
57f1a00bf2
Update Clang C++ status, with a more project-centric focus.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95455 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-05 23:51:14 +00:00
Owen Anderson
d2bf0cdca4
Clarify the documentation of ext_vector, and add a small example. Hopefully
...
this will alleviate some confusion about the existence of this feature.
Comments/improvements welcome.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94645 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-27 01:22:36 +00:00
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