- Jul 29, 2011
-
-
Ted Kremenek authored
[analyzer] Overhaul how the static analyzer expects CFGs by forcing CFGs to be linearized only when used by the static analyzer. This required a rewrite of LiveVariables, and exposed a ton of subtle bugs. The motivation of this large change is to drastically simplify the logic in ExprEngine going forward. Some fallout is that the output of some BugReporterVisitors is not as accurate as before; those will need to be fixed over time. There is also some possible performance regression as RemoveDeadBindings will be called frequently; this can also be improved over time. llvm-svn: 136419
-
Ted Kremenek authored
[analyzer] fix bug in malloc checker where the tracked symbol would not properly be removed from the state. llvm-svn: 136418
-
Ted Kremenek authored
[analyzer] Add StoreManager::includedInBindings() to to query whether a region is used in any bindings. llvm-svn: 136416
-
Ted Kremenek authored
llvm-svn: 136415
-
Ted Kremenek authored
llvm-svn: 136414
-
Ted Kremenek authored
llvm-svn: 136413
-
Ted Kremenek authored
the proper expression. llvm-svn: 136412
-
Douglas Gregor authored
it appropriately. Also, patch up a place where we were failing to map local macro definition IDs into global macro definition IDs. llvm-svn: 136411
-
Douglas Gregor authored
llvm-svn: 136410
-
- Jul 28, 2011
-
-
Douglas Gregor authored
consistently in the ASTReader. llvm-svn: 136395
-
Douglas Gregor authored
IDs properly, although the mapping itself is still trivial. llvm-svn: 136391
-
Anna Zaks authored
llvm-svn: 136389
-
Caitlin Sadowski authored
analysis. This includes checking that the attributes are applied in the correct contexts and with the correct number of arguments. llvm-svn: 136383
-
Anna Zaks authored
llvm-svn: 136379
-
Douglas Gregor authored
point, ASTReader::InitializeSema() has very little interesting work, *except* issues stemming from preloaded declarations. That's something we'll still need to cope with. llvm-svn: 136378
-
Anna Zaks authored
Refactor the */& mismatch fixit generation out of SemaOverload and provide a simple conversion checking function. llvm-svn: 136376
-
Douglas Gregor authored
Module member to being an ASTReader member; we want it to be centralized for lazy deserialization. llvm-svn: 136373
-
Douglas Gregor authored
completely broken deserialization mapping code we had for VTableUses, which would have broken horribly as soon as our local-to-global ID mapping became interesting. llvm-svn: 136371
-
Douglas Gregor authored
llvm-svn: 136368
-
Caitlin Sadowski authored
scoped_lockable, and no_thread_safety_analysis attributes, all for thread safety analysis llvm-svn: 136364
-
Jonathan D. Turner authored
Switch the ModuleManager over to using a FileManager and FileEntry* as part of its lookup instead of the filename. This is a more correct unique identifier, as symlinks can be handled by the FileManager. llvm-svn: 136363
-
Douglas Gregor authored
llvm-svn: 136357
-
Douglas Gregor authored
that it accumulates referenced selectors from each of the modules/PCH files as they are loaded. No actual functionality change, yet. llvm-svn: 136356
-
Douglas Gregor authored
we could turn this into an on-disk hash table so we don't load the whole thing the first time we need it. However, it tends to be very, very small (i.e., empty) for most precompiled headers, so it isn't all that interesting. llvm-svn: 136352
-
John McCall authored
__block variables where the act of initialization/assignment itself causes the __block variable to be copied to the heap because the variable is of block type and is being assigned a block literal which captures the variable. rdar://problem/9814099 llvm-svn: 136337
-
Douglas Gregor authored
fields of HeaderFileInfo. llvm-svn: 136332
-
Douglas Gregor authored
for quoted header lookup when dealing with not-yet-installed frameworks. Fixes <rdar://problem/9824020>. llvm-svn: 136331
-
Douglas Gregor authored
llvm-svn: 136318
-
Douglas Gregor authored
llvm-svn: 136317
-
Argyrios Kyrtzidis authored
For PCH files, have only one open/close for temporary + rename to be safe from race conditions. For all other output files open/close the output file directly. Depends on llvm r136310. rdar://9082880 & http://llvm.org/PR9374. llvm-svn: 136315
-
Douglas Gregor authored
llvm-svn: 136314
-
Richard Trieu authored
llvm-svn: 136306
-
Chad Rosier authored
use in KEXTs. However, users/Xcode still need to tweak the linker flags to do the right thing, and end up using -Xlinker, for example. Instead, have the driver "do the right thing" when linking when -fapple-kext is present on the command line, and we should have Xcode use -fapple-kext instead of setting other flags like -Xlinker -kext or -nodefaultlibs. rdar://7809940 llvm-svn: 136294
-
- Jul 27, 2011
-
-
Douglas Gregor authored
llvm-svn: 136273
-
John McCall authored
supposed to be a full-expression; make it so. In ARC, make sure we retain the lock for the entire protected block. llvm-svn: 136271
-
Douglas Gregor authored
- Added LazyVector::erase() to support this use case. - Factored out the LazyDecl-of-Decls to RecordData translation in the ASTWriter. There is still a pile of code duplication here to eliminate. llvm-svn: 136270
-
Anna Zaks authored
Add a utility function to the Lexer, which makes it easier to find a token after the given location. (It is a generalized version of trans::findLocationAfterSemi from ArcMigrate, which will be changed to use the Lexer utility). llvm-svn: 136268
-
Douglas Gregor authored
contents are lazily loaded on demand from an external source (e.g., an ExternalASTSource or ExternalSemaSource). The "loaded" entities are kept separate from the "local" entities, so that the two can grow independently. Switch Sema::TentativeDefinitions from a normal vector that is eagerly populated by the ASTReader into one of these LazyVectors, making the ASTReader a bit more like me (i.e., lazy). llvm-svn: 136262
-
Peter Collingbourne authored
llvm-svn: 136257
-
Peter Collingbourne authored
llvm-svn: 136256
-