- Sep 18, 2009
-
-
Anton Korobeynikov authored
variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227
-
Nick Lewycky authored
llvm-svn: 82225
-
Douglas Gregor authored
results when there is some way to refer to them in the language, such as with a qualified name in C++. llvm-svn: 82223
-
Douglas Gregor authored
will provide the names of various enumerations currently visible. Introduced filtering of code-completion results when we build the result set, so that we can identify just the kinds of declarations we want. This implementation is incomplete for C++, since we don't consider that the token after the tag keyword could start a nested-name-specifier. llvm-svn: 82222
-
Douglas Gregor authored
llvm-svn: 82221
-
Xerxes Ranby authored
llvm-svn: 82218
-
Daniel Dunbar authored
expression. llvm-svn: 82217
-
Daniel Dunbar authored
llvm-svn: 82216
-
Evan Cheng authored
llvm-svn: 82215
-
Evan Cheng authored
Fix a bug in sdisel switch lowering code. When it updates the phi nodes in switch successor blocks, it can introduce multiple phi operands of the same value from different blocks (and may not be on the predecessor list). This can be seen on CodeGen/Generic/2006-09-06-SwitchLowering.ll. But it's not known to cause any real regression (but I have added an assertion for it now). llvm-svn: 82214
-
Daniel Dunbar authored
llvm-svn: 82213
-
Daniel Dunbar authored
llvm-svn: 82212
-
Daniel Dunbar authored
llvm-svn: 82211
-
Daniel Dunbar authored
llvm-svn: 82210
-
Daniel Dunbar authored
llvm-svn: 82209
-
Daniel Dunbar authored
llvm-svn: 82208
-
Nick Lewycky authored
llvm-svn: 82206
-
Ted Kremenek authored
when running the analyzer on real projects. We'll keep the change to AnalysisManager.cpp in r82198 so that -fobjc-gc analyzes code correctly in both GC and non-GC modes, although this may emit two diagnostics for each bug in some cases (a better solution will come later). llvm-svn: 82201
-
Ted Kremenek authored
pruning of diagnostics that may be emitted multiple times. This is accomplished by adding FoldingSet profiling support to PathDiagnostic, and then having BugReporter record what diagnostics have been issued. This was motived to a serious bug introduced by moving the 'divide-by-zero' checking outside of GRExprEngine into a separate 'Checker' class. When analyzing code using the '-fobjc-gc' option, a given function would be analyzed twice, but the second time various "internal checks" would be disabled to avoid emitting multiple diagnostics (e.g., "null dereference") for the same issue. The problem is that such checks also effect path pruning and don't just emit diagnostics. This resulted in an assertion failure involving a real divide-by-zero in some analyzed code where we would get an assertion failure in APInt because the 'DivZero' check was disabled and didn't prune the logic that resulted in the divide-by-zero in the analyzer. The implemented solution is somewhat of a hack, and may not perform extremely well. This will need to be cleaned up over time. As a regression test, 'misc-ps.m' has been modified so that its tests are run using -fobjc-gc to test this diagnostic pruning behavior. llvm-svn: 82198
-
Chris Lattner authored
with zeros. This avoids a GCC warning (PR5000) llvm-svn: 82194
-
Anders Carlsson authored
llvm-svn: 82193
-
Anders Carlsson authored
llvm-svn: 82190
-
Anders Carlsson authored
llvm-svn: 82189
-
Nick Kledzik authored
llvm-svn: 82185
-
Nick Kledzik authored
llvm-svn: 82184
-
Fariborz Jahanian authored
array syntax is used to derefernce and assign to ivar pointee. llvm-svn: 82183
-
Chris Lattner authored
llvm-svn: 82182
-
Chris Lattner authored
llvm-svn: 82181
-
Chris Lattner authored
64-bit systems. llvm-svn: 82180
-
Chris Lattner authored
llvm-svn: 82179
-
Chris Lattner authored
llvm-svn: 82178
-
Julien Lerouge authored
supporting this attribute). llvm-svn: 82177
-
Devang Patel authored
llvm-svn: 82176
-
Devang Patel authored
llvm-svn: 82175
-
- Sep 17, 2009
-
-
Mike Stump authored
llvm-svn: 82170
-
Douglas Gregor authored
essence, code completion is triggered by a magic "code completion" token produced by the lexer [*], which the parser recognizes at certain points in the grammar. The parser then calls into the Action object with the appropriate CodeCompletionXXX action. Sema implements the CodeCompletionXXX callbacks by performing minimal translation, then forwarding them to a CodeCompletionConsumer subclass, which uses the results of semantic analysis to provide code-completion results. At present, only a single, "printing" code completion consumer is available, for regression testing and debugging. However, the design is meant to permit other code-completion consumers. This initial commit contains two code-completion actions: one for member access, e.g., "x." or "p->", and one for nested-name-specifiers, e.g., "std::". More code-completion actions will follow, along with improved gathering of code-completion results for the various contexts. [*] In the current -code-completion-dump testing/debugging mode, the file is truncated at the completion point and EOF is translated into "code completion". llvm-svn: 82166
-
Mike Stump authored
llvm-svn: 82164
-
John McCall authored
instead of the PtrTraits provided. Allows PointerIntPair to contain a PointerUnion safely, as long as the bits add up. llvm-svn: 82163
-
Dan Gohman authored
llvm-svn: 82162
-
Daniel Dunbar authored
- Move CMake to using the new test runner. - Switch Makefiles to use the lit.site.cfg.in template. - Remove explicit --path arguments, instead this gets written into the site configuration. This means running lit from the command line should use the exact same configuration as is used in 'make test', assuming it can find the site configuration file. You still need to run 'make test' (or the cmake build target equivalent) at least once. llvm-svn: 82160
-