| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
scope. Now we only add C++ struct with non-trivial destructor variables to the
local scope.
llvm-svn: 115269
|
| |
|
|
| |
llvm-svn: 115266
|
| |
|
|
|
|
| |
and implicit scope in for statement.
llvm-svn: 115265
|
| |
|
|
|
|
| |
scopes in switch statement.
llvm-svn: 115264
|
| |
|
|
|
|
|
| |
actually have an ASTContext, delay the processing of that
update. Patch by Sebastian Redl! Fixes <rdar://problem/8499034>.
llvm-svn: 115263
|
| |
|
|
|
|
| |
scopes in while and do statements.
llvm-svn: 115262
|
| |
|
|
| |
llvm-svn: 115260
|
| |
|
|
|
|
|
| |
file is somehow changed in a chained PCH file, make sure that we write
out the macro definition. Fixes part of <rdar://problem/8499034>.
llvm-svn: 115259
|
| |
|
|
|
|
| |
scopes in if statement.
llvm-svn: 115256
|
| |
|
|
|
|
| |
CFGBuilder::addLocalScopeForVarDecl. Checked type does not have to represent C++ class.
llvm-svn: 115254
|
| |
|
|
|
|
|
|
| |
- Adding LocalScope for CompoundStmt,
- Adding CFGAutomaticObjDtors for end of scope, return, goto, break, continue,
- Regression tests for above cases.
llvm-svn: 115252
|
| |
|
|
|
|
|
| |
extension and implementation.
Fixes rdar://8493239.
llvm-svn: 115248
|
| |
|
|
| |
llvm-svn: 115244
|
| |
|
|
| |
llvm-svn: 115237
|
| |
|
|
|
|
| |
Fixed some misspells in comments.
llvm-svn: 115236
|
| |
|
|
|
|
|
|
|
| |
- post-increament, distance and bool conversion methods to LocalScope::const_iterator,
- adding VarDecl to LocalScope.
Fixed some misspells in comments.
llvm-svn: 115227
|
| |
|
|
|
|
| |
Fixes rdra://8475819.
llvm-svn: 115201
|
| |
|
|
|
|
| |
In this experimental mode try avoiding debug info emission for classes as much as possible. The goal is to reduce size of produced debuginfo without reducing quality of debug info in general. This is a work in progress.
llvm-svn: 115188
|
| |
|
|
|
|
|
|
| |
-include on the command line following the PCH include.
Fixes rdar://7382084.
llvm-svn: 115159
|
| |
|
|
| |
llvm-svn: 115158
|
| |
|
|
|
|
|
| |
-cfg-add-implicit-dtors - sets CFG::BuildOptions::AddImplicitDtors for AnalysisCosumer to true,
-cfg-add-initializers - sets CFG::BuildOptions::AddInitializers for AnalysisCosumer to true.
llvm-svn: 115142
|
| |
|
|
| |
llvm-svn: 115120
|
| |
|
|
| |
llvm-svn: 115118
|
| |
|
|
|
|
| |
start of the buffer, or we risk overflow.
llvm-svn: 115117
|
| |
|
|
|
| |
Fixes: <rdar://problem/7513117>
llvm-svn: 115113
|
| |
|
|
|
|
|
| |
- Use BlockEntrance rather than BlockEdge to bring in line with UnreachableCodeChecker. Fixes an issue where unreached blocks would still be counted as reachable.
- Added warnings for all BlockAborted locations. This allows us to see where the analyzer stopped analyzing.
llvm-svn: 115110
|
| |
|
|
|
|
| |
analyzer to completely analyze a worklist regardless of time taken.
llvm-svn: 115108
|
| |
|
|
|
|
| |
Radar 8493141.
llvm-svn: 115104
|
| |
|
|
|
|
| |
Radar 8490416.
llvm-svn: 115090
|
| |
|
|
|
|
|
|
| |
against a function type, be sure to check the type of the resulting
function template specialization against the desired function type
after substituting the deduced/defaulted template arguments. Fixes PR8196.
llvm-svn: 115086
|
| |
|
|
| |
llvm-svn: 115085
|
| |
|
|
| |
llvm-svn: 115079
|
| |
|
|
|
|
|
|
|
|
| |
- I don't like returning StringRef's ever, unless it is actually important for
performance, which it isn't here.
- Also, stop validating getClangRevision to be an integer, I don't see a good
reason to do this.
llvm-svn: 115071
|
| |
|
|
|
|
| |
- Minor style tweaks by me.
llvm-svn: 115056
|
| |
|
|
|
|
| |
during template instantiation, from Martin Vejnar!
llvm-svn: 115051
|
| |
|
|
|
|
| |
patch by Jonathan Mulder!
llvm-svn: 115049
|
| |
|
|
|
|
| |
Vejnár!
llvm-svn: 115041
|
| |
|
|
|
|
| |
in a GNU-compatible C++ dialect. Fixes <rdar://problem/8477819>.
llvm-svn: 115028
|
| |
|
|
|
|
|
|
|
|
| |
into CXXRecordDecl. The only part that we do not handle this way are
using declarations, since that would require extra name lookup that we
don't currently want to pay for. This fixes <rdar://problem/8459981>,
so that LLDB can build a CXXRecordDecl and magically get all of the
right bits set.
llvm-svn: 115026
|
| |
|
|
|
|
|
|
|
|
|
| |
completely into CXXRecordDecl, by adding a new completeDefinition()
function. This required a little reshuffling of the final-overrider
checking code, since the "abstract" calculation in the presence of
abstract base classes needs to occur in
CXXRecordDecl::completeDefinition() but we don't want to compute final
overriders more than one in the common case.
llvm-svn: 115007
|
| |
|
|
| |
llvm-svn: 115004
|
| |
|
|
|
|
| |
CXXRecordDecl::DefinitionData, rather than having Sema mark the bit.
llvm-svn: 114993
|
| |
|
|
|
|
| |
<rdar://problem/8459981>.
llvm-svn: 114984
|
| |
|
|
|
|
| |
Fixes rdar://8476159.
llvm-svn: 114982
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>.
This reinstates r114924, with one crucial bug fix: we were ignoring
the implicit fields created by anonymous structs/unions when updating
the bits in CXXRecordDecl, which means that a class/struct containing
only an anonymous class/struct would be considered "empty". Hilarity
follows.
llvm-svn: 114980
|
| |
|
|
|
|
| |
the header can get away with forward declarations only for ObjCMethodList and Selector. Fixes <rdar://8467631>.
llvm-svn: 114978
|
| |
|
|
|
|
|
|
| |
Centralize the management of CXXRecordDecl::DefinitionData's Aggregate
and PlainOldData bits in CXXRecordDecl itself. Another milepost on the
road toward <rdar://problem/8459981>.
llvm-svn: 114977
|
| |
|
|
|
|
|
|
| |
verify that we aren't in a message-send expression before digging into
the identifier or looking ahead more tokens. Fixes a regression
(<rdar://problem/8483253>) I introduced with bracket insertion.
llvm-svn: 114968
|
| |
|
|
|
|
|
|
| |
"(void *)false".
Fixes rdar://8459342.
llvm-svn: 114955
|
| |
|
|
|
|
| |
rdar://8483139.
llvm-svn: 114954
|