| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 112367
|
| |
|
|
| |
llvm-svn: 112366
|
| |
|
|
| |
llvm-svn: 112365
|
| |
|
|
|
|
|
|
|
|
|
| |
For large floats/integers, APFloat/APInt will allocate memory from the heap to represent these numbers.
Unfortunately, when we use a BumpPtrAllocator to allocate IntegerLiteral/FloatingLiteral nodes the memory associated with
the APFloat/APInt values will never get freed.
I introduce the class 'APNumericStorage' which uses ASTContext's allocator for memory allocation and is used internally by FloatingLiteral/IntegerLiteral.
Fixes rdar://7637185
llvm-svn: 112361
|
| |
|
|
| |
llvm-svn: 112360
|
| |
|
|
| |
llvm-svn: 112359
|
| |
|
|
|
|
|
|
|
| |
an object of type I, if the current access target is protected
when named in a class N, consider the friends of the classes P
where I <= P <= N and where a notional member of N would be
non-forbidden in P.
llvm-svn: 112358
|
| |
|
|
| |
llvm-svn: 112347
|
| |
|
|
| |
llvm-svn: 112346
|
| |
|
|
| |
llvm-svn: 112342
|
| |
|
|
| |
llvm-svn: 112339
|
| |
|
|
| |
llvm-svn: 112338
|
| |
|
|
|
|
| |
Now the behavior is at least consistent.
llvm-svn: 112335
|
| |
|
|
|
|
| |
visiting the subexpression. While we don't do anything intelligent right now, this obviates a bogus -Wunreahable-code warning reported in PR 6130.
llvm-svn: 112334
|
| |
|
|
|
|
|
| |
reordering and redefinition issues still may linger,
I plan to nail them next
llvm-svn: 112333
|
| |
|
|
|
|
| |
a constructor.
llvm-svn: 112330
|
| |
|
|
| |
llvm-svn: 112326
|
| |
|
|
| |
llvm-svn: 112320
|
| |
|
|
| |
llvm-svn: 112319
|
| |
|
|
| |
llvm-svn: 112318
|
| |
|
|
| |
llvm-svn: 112315
|
| |
|
|
|
|
| |
updated test cases flagged by it.
llvm-svn: 112313
|
| |
|
|
|
|
|
|
|
|
|
| |
increase the coverage of bugs. Primarily affects IdempotentOperationChecker.
- Migrated a temporarily separated test back to its original file (bug has been fixed, null-deref-ps-temp.c -> null-deref-ps.c)
- Changed SymbolManager to use relaxed LiveVariables
- Updated several test cases that the IdempotentOperationChecker class now flags
- Added test case to test relaxed LiveVariables use by the IdempotentOperationChecker
llvm-svn: 112312
|
| |
|
|
|
|
| |
in other checkers.
llvm-svn: 112310
|
| |
|
|
|
|
| |
updated properly.
llvm-svn: 112309
|
| |
|
|
| |
llvm-svn: 112307
|
| |
|
|
|
|
|
|
|
| |
at assignments. This 'relaxed' liveness is useful in path sensitive analysis for situations where the resulting extended liveness allows us to find some bugs.
- Added killAtAssign flag to LiveVariables
- Added relaxed LiveVariables to AnalysisContext with an accessor
llvm-svn: 112306
|
| |
|
|
| |
llvm-svn: 112303
|
| |
|
|
|
|
| |
first parameter of operator delete
llvm-svn: 112298
|
| |
|
|
|
|
|
|
| |
adding the API hooks clang_isVirtualBase() and clang_getCXXAccessSpecifier() to query properties of the base specifier.
Implements <rdar://problem/8274883>.
llvm-svn: 112296
|
| |
|
|
| |
llvm-svn: 112295
|
| |
|
|
|
|
|
|
| |
member function you're typing in overrides another virtual function,
this fills in a (qualified!) call to that virtual function to make
such delegation easy.
llvm-svn: 112294
|
| |
|
|
| |
llvm-svn: 112292
|
| |
|
|
| |
llvm-svn: 112283
|
| |
|
|
|
|
|
| |
we don't see a DeclStmt (failure to instantiate which generally causes
panic).
llvm-svn: 112282
|
| |
|
|
|
|
| |
Patch originally by Alexander Herz.
llvm-svn: 112275
|
| |
|
|
|
|
| |
declarator, the very definition of "low-hanging fruit".
llvm-svn: 112274
|
| |
|
|
|
|
| |
types of the pointer address expressions used with those intrinsics.
llvm-svn: 112272
|
| |
|
|
|
|
|
| |
the main file isn't an included file, and the IncludePos is
always SourceLocation().
llvm-svn: 112269
|
| |
|
|
|
|
| |
priority boost to methods with the same selector.
llvm-svn: 112268
|
| |
|
|
|
|
|
|
|
| |
a message send to "super" from a method that appears to be meant to
override a superclass method (same kind, same selector, same argument
types), provide a "super" completion that fills in the selector along
with forwarding the method's arguments (as placeholders).
llvm-svn: 112263
|
| |
|
|
| |
llvm-svn: 112261
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
an '&' expression from the second caller of ActOnIdExpression.
Teach template argument deduction that an overloaded id-expression
doesn't give a valid type for deduction purposes to a non-static
member function unless the expression has the correct syntactic
form.
Teach ActOnIdExpression that it shouldn't try to create implicit
member expressions for '&function', because this isn't a
permitted form of use for member functions.
Teach CheckAddressOfOperand to diagnose these more carefully.
Some of these cases aren't reachable right now because earlier
diagnostics interrupt them.
llvm-svn: 112258
|
| |
|
|
| |
llvm-svn: 112246
|
| |
|
|
|
|
|
|
|
| |
One who seeks the Tao unlearns something new every day.
Less and less remains until you arrive at non-action.
When you arrive at non-action,
nothing will be left undone.
llvm-svn: 112244
|
| |
|
|
| |
llvm-svn: 112239
|
| |
|
|
|
|
| |
statements would cause the path to get prematurely aborted. Fixes <rdar://problem/8360854>.
llvm-svn: 112233
|
| |
|
|
| |
llvm-svn: 112229
|
| |
|
|
| |
llvm-svn: 112219
|
| |
|
|
| |
llvm-svn: 112214
|