- Oct 03, 2012
-
-
Bill Wendling authored
can't have the logic here to add in the 'tools/{driver,libclang}' directories, because they will be added in for ALL Makefiles which #include the top-level one. Place the logic into the 'tools' Makefile. llvm-svn: 165103
-
Bill Wendling authored
llvm-svn: 165098
-
Alexey Samsonov authored
llvm-svn: 165097
-
Nico Weber authored
* nullptr used to be mapped to ERROR, now mapped to nullptr * integral was missing * expressions now have their own error message, so they won't reach this. Map them to ERROR. Note that clang usually crashes before emitting this diagnostic anyway (see PR13984), so this change alone doesn't have an observable effect. It makes the code more correct though. llvm-svn: 165095
-
Nico Weber authored
This matches what's done in ItaniumMangle and makes it a bit easier to implement mangling for more expressions. Also use the slightly nicer "not yet implemented" error message from there. No functionality change (except for the different error message). llvm-svn: 165093
-
Nico Weber authored
llvm-svn: 165091
-
John McCall authored
llvm-svn: 165090
-
NAKAMURA Takumi authored
InlineObjCInstanceMethod.m: Remove lines introduced in r165079. It broke some builds, on FreeBSD, Linux and Windows. error: 'warning' diagnostics expected but not seen: Line 94: types are incompatible 1 error generated. llvm-svn: 165088
-
Argyrios Kyrtzidis authored
ImportDecl's module ID was not written out and the reader accepted as module ID the serialized: Record.push_back(!IdentifierLocs.empty()); llvm-svn: 165087
-
Argyrios Kyrtzidis authored
of a module file. llvm-svn: 165086
-
Argyrios Kyrtzidis authored
llvm-svn: 165085
-
Argyrios Kyrtzidis authored
when an ImportDecl that was implicitly created due to an inclusion directive. llvm-svn: 165084
-
Argyrios Kyrtzidis authored
llvm-svn: 165083
-
Michael Han authored
- General C++11 attributes were previously parsed and ignored. Now they are parsed and stored in AST. - Add support to parse arguments of attributes that in 'gnu' namespace. - Differentiate unknown attributes and known attributes that can't be applied to statements when emitting diagnostic. llvm-svn: 165082
-
Jordan Rose authored
In C++, overriding virtual methods are allowed to specify a covariant return type -- that is, if the return type of the base method is an object pointer type (or reference type), the overriding method's return type can be a pointer to a subclass of the original type. The analyzer was failing to take this into account when devirtualizing a method call, and anything that relied on the return value having the proper type later would crash. In Objective-C, overriding methods are allowed to specify ANY return type, meaning we can NEVER be sure that devirtualizing will give us a "safe" return value. Of course, a program that does this will most likely crash at runtime, but the analyzer at least shouldn't crash. The solution is to check and see if the function/method being inlined is the function that static binding would have picked. If not, check that the return value has the same type. If the types don't match, see if we can fix it with a derived-to-base cast (the C++ case). If we can't, return UnknownVal to avoid crashing later. <rdar://problem/12409977> llvm-svn: 165079
-
Jordan Rose authored
These functions are store-agnostic, and would benefit from information in DynamicTypeInfo but gain nothing from the store type. No intended functionality change. llvm-svn: 165078
-
Jordan Rose authored
Then, rename it getPointeeCXXRecordDecl and give it a nice doc comment, and actually use it. No intended functionality change. llvm-svn: 165077
-
Richard Trieu authored
each one separately, process a stack of MemberExpr's as a single unit so that static calls and member access will not be warned on. llvm-svn: 165074
-
Chad Rosier authored
llvm-svn: 165070
-
Alexander Kornienko authored
Summary: Uses [[clang::fallthrough]] attribute in a template function, and -Wimplicit-fallthrough to check the attribute presence in an instantiation. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D55 llvm-svn: 165068
-
Fariborz Jahanian authored
attribute going iinto XML document. llvm-svn: 165066
-
- Oct 02, 2012
-
-
Ted Kremenek authored
llvm-svn: 165059
-
Chad Rosier authored
A Sema lookup is used to determine the size of the variable, which is in turn used during wildcard matching. llvm-svn: 165058
-
Argyrios Kyrtzidis authored
as key instead of a SLocEntry pointer. This allows the array of file sorted declarations in a PCH/module to be deterministic. llvm-svn: 165047
-
Argyrios Kyrtzidis authored
declarations of the current primary module. llvm-svn: 165046
-
Chad Rosier authored
llvm-svn: 165045
-
Ted Kremenek authored
an intermediate helper method to query and populate the Optional value. llvm-svn: 165043
-
Ted Kremenek authored
table, making it printable with the ConfigDump checker. Along the way, fix a really serious bug where the value was getting parsed from the string in code that was in an assert() call. This means in a Release-Asserts build this code wouldn't work as expected. llvm-svn: 165041
-
Ted Kremenek authored
the config string table. Also setup a test for dumping the analyzer configuration for C++. llvm-svn: 165040
-
Fariborz Jahanian authored
to XML output. // rdar://12378879 llvm-svn: 165039
-
Chad Rosier authored
directives (e.g., dword ptr [eax]). llvm-svn: 165031
-
Bill Wendling authored
<rdar://problem/12401423> llvm-svn: 165029
-
Bill Wendling authored
clang specifying a temporary file that it later cleans up so that it can survive the linking stage. However, when we compile object files during LTO we don't call 'dsymutil'. That's done at a different stage (if at all). We rely upon the linker to specify a unique name for the temporary file it generates. <rdar://problem/12401423> llvm-svn: 165028
-
Rafael Espindola authored
llvm-svn: 165026
-
Chad Rosier authored
llvm-svn: 165025
-
NAKAMURA Takumi authored
llvm-svn: 165024
-
Argyrios Kyrtzidis authored
entities of the current primary module. llvm-svn: 165023
-
Argyrios Kyrtzidis authored
resulted in an automatic module import. llvm-svn: 165022
-
Argyrios Kyrtzidis authored
make sure that it gets enabled for when a module needs to be created. llvm-svn: 165021
-
Argyrios Kyrtzidis authored
info about imported modules. llvm-svn: 165020
-