Daniel Dunbar
7362aa30c5
Update UsersManual, we support '#pragma align' now.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110040 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-02 15:36:37 +00:00
Douglas Gregor
e8d44dd52c
Document -f{no-}color-diagnostics
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107985 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-09 16:31:58 +00:00
Sebastian Redl
a93e3b5bde
Some preparatory work for chained PCH. No functionality change.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107915 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-08 22:01:51 +00:00
Sebastian Redl
9bc2a99b66
Fix a few errors in the internals doc.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107838 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-07 23:42:27 +00:00
Douglas Gregor
4f304db6f5
Remove redundant and incomplete bits from the users manual w.r.t. language conformance
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107326 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-30 22:04:24 +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
Jeffrey Yasskin
57d12fd4a2
PR7245: Make binding a reference to a temporary without a usable copy
...
constructor into an extension warning into the error that C++98 requires.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105529 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-07 15:58:05 +00:00
Jeffrey Yasskin
21d07e499e
Add an extension to avoid an error when a global template has the same name as
...
a member template, and you try to call the member template with an explicit
template argument. See PR7247
For example, this downgrades the error to a warning in:
template<typename T> struct set{};
struct Value {
template<typename T>
void set(T value) {
}
};
void foo() {
Value v;
v.set<double>(3.2); // Warning here.
}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105518 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-05 01:39:57 +00:00
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