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

340 Коммитов

Автор SHA1 Сообщение Дата
Ted Kremenek 67b81e7792 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65227 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-21 06:58:08 +00:00
Ted Kremenek 0527f0d0f3 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65054 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-19 19:08:21 +00:00
Ted Kremenek 73a1aa016b Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65033 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-19 07:22:21 +00:00
Ted Kremenek ed67b2c61c Fix comment: analyzer builds are universal binaries.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64950 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18 21:24:14 +00:00
Ted Kremenek 09a9abc66b Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64879 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18 03:09:29 +00:00
Ted Kremenek ed5a131179 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64753 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17 07:47:57 +00:00
Cedric Venet 3d658640ab Add svn:eol-style=native to some files
Correct two files with inconsistent lines endings.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64564 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-14 20:20:19 +00:00
Ted Kremenek 7e4966e92d Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64507 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-13 23:41:12 +00:00
Ted Kremenek 33b3d6b7c1 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64365 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-12 07:09:27 +00:00
Ted Kremenek d25c623a59 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64297 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-11 07:50:23 +00:00
Ted Kremenek c697fc3e2d Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64208 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-10 07:38:50 +00:00
Ted Kremenek fdfe09b526 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64190 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-10 00:53:39 +00:00
Chris Lattner ceca466513 spell out explicitly
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64129 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-09 08:47:44 +00:00
Chris Lattner dc3b86f6b4 add doc
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64128 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-09 08:47:17 +00:00
Chris Lattner 0a5166cb0a add another crazy idea :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64092 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 20:41:34 +00:00
Ted Kremenek 300e1d6b57 Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64071 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 05:05:02 +00:00
Sebastian Redl 4a4251b9e7 Make const-initialized const integral variables I-C-Es in C++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64015 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-07 13:06:23 +00:00
Sebastian Redl 3268825a8e Fill in C++ status table for section 7 (declarations).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64013 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-07 12:42:13 +00:00
Sebastian Redl 224605064a Implement dereferencing of pointers-to-member.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63983 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-07 00:15:38 +00:00
Ted Kremenek 4a3aed942b Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63897 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-05 23:19:12 +00:00
Ted Kremenek 13794eb888 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63869 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-05 15:48:51 +00:00
Sebastian Redl 33b399a8fd Implement taking address of member functions, including overloaded ones.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63779 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-04 21:23:32 +00:00
Ted Kremenek 90f76f256a Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63753 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-04 19:09:38 +00:00
Douglas Gregor 09413dca1b Argument Dependent Lookup is done (for now). Also, update the status
for a few other name-lookup sections.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63734 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-04 15:07:16 +00:00
Chris Lattner 37629a4142 codegen is much farther along than when this was first written.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63668 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-03 21:54:08 +00:00
Chris Lattner d5ab36e48c update a couple entries, add a new idea
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63665 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-03 21:51:37 +00:00
Ted Kremenek c83c29aec4 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63464 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-31 01:32:23 +00:00
Douglas Gregor 930d8b5ecc Implement and test aggregate initialization in C++. Major changes:
- Support initialization of reference members; complain if any
  reference members are left uninitialized.
  - Use C++ copy-initialization for initializing each element (falls
  back to constraint checking in C)
  - Make sure we diagnose when one tries to provide an initializer
  list for a non-aggregate.
  - Don't complain about empty initializers in C++ (they are permitted)
  - Unrelated but necessary: don't bother trying to convert the
  decl-specifier-seq to a type when we're dealing with a C++
  constructor, destructor, or conversion operator; it results in
  spurious warnings.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63431 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-30 22:09:00 +00:00
Sebastian Redl 21593acb93 Implement pointer to member handling in static_cast.
Fix a stupid mistake in UnwrapSimilarPointers that made any two member pointers compatible as long as the pointee was the same.
Make a few style corrections as suggested by Chris.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63215 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-28 18:33:18 +00:00
Douglas Gregor 6697312178 Complete semantic checking for typedef redeclarations in C++. The
rules are slightly different than in C, and now we handle both
dialects properly.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63211 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-28 17:15:10 +00:00
Ted Kremenek 65c9717234 Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63200 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-28 15:05:42 +00:00
Sebastian Redl db64728e69 Add handling of member pointers to reinterpret_cast.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63150 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-27 23:18:31 +00:00
Ted Kremenek c6673033dc Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63140 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-27 22:24:33 +00:00
Sebastian Redl f20269b428 Add support for member pointers to const_cast.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63055 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-26 22:19:12 +00:00
Sebastian Redl 51abf6b3bf Update C++ status table with new member pointer conversion capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62977 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-26 00:11:25 +00:00
Ted Kremenek 00b3a85686 Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62914 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-24 08:11:59 +00:00
Ted Kremenek 6849f737b7 Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62818 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-23 00:11:54 +00:00
Ted Kremenek 86791a2864 Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62655 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-21 01:41:30 +00:00
Eli Friedman 4f0c90ff1f Pixel font sizes are evil.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62586 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-20 17:56:18 +00:00
Ted Kremenek 6c9f8aaa67 Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62409 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-17 06:41:35 +00:00
Ted Kremenek d4bd97dfdb Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62379 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-16 23:26:38 +00:00
Douglas Gregor 09f41cf63f Introduce support for C++0x explicit conversion operators (N2437)
Small cleanup in the handling of user-defined conversions. 

Also, implement an optimization when constructing a call. We avoid
recomputing implicit conversion sequences and instead use those
conversion sequences that we computed as part of overload resolution.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62231 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-14 15:45:31 +00:00
Ted Kremenek 1601ce4376 Updated checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62137 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-13 01:41:37 +00:00
Douglas Gregor 88b4bf202a Add the proper restrictions on the left-hand argument of a built-in
assignment operator candidate (C++ [over.match.oper]p4).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62128 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-13 00:52:54 +00:00
Douglas Gregor 3f20a682ba Update C++ status and add a few more tests of overloading for member function calls
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62121 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-12 23:20:38 +00:00
Douglas Gregor 6b3945f4bc Finished semantic analysis of anonymous unions in C++.
Duplicate-member checking within classes is still a little messy, and
anonymous unions are still completely broken in C. We'll need to unify
the handling of fields in C and C++ to make this code applicable in
both languages.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61878 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-07 19:46:03 +00:00
Ted Kremenek bdd686dc6a Update checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61843 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-07 01:10:24 +00:00
Douglas Gregor f780abc21c Parser support for C++ using directives, from Piotr Rak
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61486 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-30 03:27:21 +00:00
Sebastian Redl 39e98008eb Fill in C++ status table for statements.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61457 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-28 17:18:13 +00:00
Sebastian Redl e6d5a4a583 Implement checks for bool in increment and decrement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61275 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-20 09:35:34 +00:00