Commit Graph

172 Commits

Author SHA1 Message Date
Nick Lewycky de2291a717 Grammar fix: s/it's/its/g in
"it's spelling location and it's instantiation location"

llvm-svn: 104746
2010-05-26 21:48:10 +00:00
Chris Lattner b997626120 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.

llvm-svn: 104561
2010-05-24 21:35: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
Chris Lattner 336119f089 document -fdiagnostics-show-category
llvm-svn: 103067
2010-05-05 01:35:28 +00:00
Chris Lattner ef8c6e8ba7 fix a broken link, diagnostickinds.td was fissioned.
llvm-svn: 102851
2010-05-01 17:35:19 +00:00
Douglas Gregor 6602c25c0c Add Clang version inspection macros. Fixes PR6681.
llvm-svn: 102686
2010-04-30 02:51:06 +00:00
Nick Lewycky e97d39b0f2 concepts is not a keyword here and fix copy-pasto.
llvm-svn: 102172
2010-04-23 06:09:40 +00:00
Douglas Gregor ffed1cb339 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.

llvm-svn: 101882
2010-04-20 07:18:24 +00:00
Chris Lattner b35583df52 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.

llvm-svn: 100689
2010-04-07 20:49:23 +00:00
Blaine Garst 55050630a9 improved wording around ABI
llvm-svn: 100536
2010-04-06 17:46:43 +00:00
Rafael Espindola fcc4739089 Document common clang compatibility issues.
Patch by Zhanyong Wan.

llvm-svn: 98708
2010-03-17 04:31:53 +00:00
Blaine Garst a41f71212a fix copyright & typo
llvm-svn: 98688
2010-03-16 22:02:16 +00:00
Chris Lattner 87c5e2f5d4 update link
llvm-svn: 98682
2010-03-16 21:43:03 +00:00
Blaine Garst ade4303e2b at least give the Apple ABI a name that reflects Apple in prep for other ABI specs that might come along
llvm-svn: 98678
2010-03-16 21:22:41 +00:00
Blaine Garst 1832cdb2d3 rev existing doc to account for recent ABI changes
llvm-svn: 98676
2010-03-16 21:21:07 +00:00
Erick Tryzelaar e62248a79c Use LLVM's new DESTDIR-less PROJ_* variables.
llvm-svn: 97744
2010-03-04 20:57:19 +00:00
Douglas Gregor bb26a92239 Update Clang C++ status, with a more project-centric focus.
llvm-svn: 95455
2010-02-05 23:51:14 +00:00
Owen Anderson 029eb7d243 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.

llvm-svn: 94645
2010-01-27 01:22:36 +00:00
John McCall 98757030a4 Document the extensions I made to the diagnostics-formatting system yesterday.
llvm-svn: 93439
2010-01-14 19:12:17 +00:00
Douglas Gregor b89b99f1f2 Fix pasto in __has_feature(cxx_lambdas) docs
llvm-svn: 93320
2010-01-13 16:27:49 +00:00
Alexis Hunt af4e28d897 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.

llvm-svn: 93312
2010-01-13 08:31:49 +00:00
Nuno Lopes 641fdce235 revert part of my last patch, and mark only the c++ global new operator as noalias. the rest will be infered by llvm optz
llvm-svn: 91600
2009-12-17 10:15:49 +00:00
Nuno Lopes ff22e5e8cb document -fno-assume-sane-operator-new, per Chris request.
please review for English grammar mistakes

llvm-svn: 91599
2009-12-17 10:00:52 +00:00
Mike Stump 64a03454c6 Refine a little. WIP.
llvm-svn: 91502
2009-12-16 03:25:12 +00:00
Mike Stump 11ba8d989c Add some documentation for recent checkins. WIP.
llvm-svn: 91500
2009-12-16 03:18:14 +00:00
Mike Stump 68943780a6 Add documentation for recently added code. WIP.
llvm-svn: 91367
2009-12-14 23:53:10 +00:00
Daniel Dunbar 0910cf54ac Update a few more docs references to clang-cc.
llvm-svn: 91178
2009-12-11 23:17:03 +00:00
Zhongxing Xu 9ad590125c brace completion.
llvm-svn: 90833
2009-12-08 05:05:26 +00:00
Ted Kremenek 72de23e8ab Fix typo.
llvm-svn: 90390
2009-12-03 02:06:43 +00:00
Ted Kremenek 71d7463797 Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of contents.
llvm-svn: 90389
2009-12-03 02:05:57 +00:00
Ted Kremenek 51540f9377 Add section on what language features __has_feature() supports for querying if they are enabled.
llvm-svn: 90388
2009-12-03 02:04:01 +00:00
Douglas Gregor 44ab140001 Fix a broken link
llvm-svn: 86545
2009-11-09 15:15:41 +00:00
John Thompson ac0b098d4d Added __has_include and __has_include_next.
llvm-svn: 85834
2009-11-02 22:28:12 +00:00
Rafael Espindola bb85c2644a Document -nobuiltininc
llvm-svn: 85188
2009-10-27 00:29:40 +00:00
Chris Lattner bf20638966 Implement __builtin_unreachable(), a GCC 4.5 extension.
llvm-svn: 82433
2009-09-21 03:09:59 +00:00
Chris Lattner c15c252007 grammaro
llvm-svn: 82070
2009-09-16 18:56:12 +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
Chris Lattner f8122966a9 clang tracks multiple levels of macro expansion
llvm-svn: 81811
2009-09-14 23:44:08 +00:00
Daniel Dunbar 5e2de9fe00 Some formatting tweaks to clang(1)
llvm-svn: 81668
2009-09-13 02:21:55 +00:00
Eli Friedman a3063cec14 As far as I know, there aren't any warning differences between -std=gnu99 and
-std=c99 modes, etc.

llvm-svn: 80133
2009-08-26 20:18:00 +00:00
Daniel Dunbar f944cc5347 Fix a few typos.
llvm-svn: 78991
2009-08-14 04:43:04 +00:00
Chris Lattner 7bad9ef8ae document the diagnostics pragmas, patch by Louis Gerbarg!
llvm-svn: 75432
2009-07-12 21:22:10 +00:00
Argyrios Kyrtzidis bff082aec9 Add documentation for the Index library to clang's web page.
llvm-svn: 75222
2009-07-10 03:41:36 +00:00
Douglas Gregor 0086a5a3bb 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>.

llvm-svn: 74885
2009-07-07 00:12:59 +00:00
Nick Lewycky be42c11118 Fix "for all intensive purposes" to "for all intents and purposes".
llvm-svn: 73323
2009-06-14 04:08:08 +00:00
Chris Lattner 084776d08b fix typo
llvm-svn: 73304
2009-06-13 20:35:58 +00:00
Chris Lattner 60ac6b9dce a couple minor tweaks
llvm-svn: 73296
2009-06-13 18:11:10 +00:00