Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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
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
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
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
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 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
Chris Lattner a021e7c4ce 257 -> FS
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70996 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-05 18:54:47 +00:00
Chris Lattner 81edc9f60e mention the non-standard builtin macros we support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68935 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-13 02:45:46 +00:00
Chris Lattner 28935899c1 typos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68770 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10 05:54:56 +00:00
Ted Kremenek 4df211412c Wording changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68766 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10 05:04:22 +00:00
Ted Kremenek ed869315ce Add blurb about attribute "analyzer_noreturn"
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68765 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10 05:03:33 +00:00
Chris Lattner 1177f91c0a document the x86 address space extension for GS.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68724 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-09 19:58:15 +00:00
Chris Lattner a7dbdf5c76 link to blocks dox
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66414 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-09 07:03:22 +00:00
Chris Lattner 0224680502 fix typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64966 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18 22:27:46 +00:00
Douglas Gregor 965acbb321 Allow "overloadable" functions in C to be declared as variadic without
any named parameters, e.g., this is accepted in C:

  void f(...) __attribute__((overloadable));

although this would be rejected:

  void f(...);

To do this, moved the checking of the "ellipsis without any named
arguments" condition from the parser into Sema (where it belongs anyway).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64902 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18 07:07:28 +00:00
Chris Lattner f161d4155f wrap some crazy long lines.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64489 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-13 21:51:45 +00:00
Chris Lattner 6f72da53ce document __builtin_shufflevector
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64485 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-13 20:00:20 +00:00
Douglas Gregor cb54d4362f Add documentation for overloaded functions in C
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64423 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-13 00:57:04 +00:00
Chris Lattner 5ce933f68c new document.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64127 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-09 08:46:11 +00:00