- Jun 18, 2010
-
-
Dan Gohman authored
the old one. llvm-svn: 106284
-
Dan Gohman authored
Don't replace the old DbgInfo with a new one when clear() on the old one is sufficient. llvm-svn: 106283
-
Dan Gohman authored
SDNode *, since it doesn't care about the ResNo value. llvm-svn: 106282
-
Dan Gohman authored
is more consistent with the ConstantInt API. llvm-svn: 106281
-
Dan Gohman authored
llvm-svn: 106280
-
Dan Gohman authored
llvm-svn: 106279
-
Dan Gohman authored
llvm-svn: 106278
-
Gabor Greif authored
llvm-svn: 106277
-
Charles Davis authored
Also, test that static members with default visibility in a struct have the right mangling. llvm-svn: 106276
-
Tom Care authored
- Precision toStrings shouldn't print a dot when they have no value. - Length of char length modifier is now returned correctly. - Added several fixit tests. Note: fixit tests are currently broken due to a bug in HighlightRange. Marking as XFAIL for now. M test/Sema/format-strings-fixit.c M include/clang/Analysis/Analyses/PrintfFormatString.h M lib/Analysis/PrintfFormatString.cpp llvm-svn: 106275
-
Zhongxing Xu authored
llvm-svn: 106274
-
Eric Christopher authored
llvm-svn: 106273
-
Alexis Hunt authored
llvm-svn: 106272
-
Dan Gohman authored
Fix from Russel Power in PR7284. llvm-svn: 106271
-
Dan Gohman authored
llvm-svn: 106269
-
Jim Ingham authored
llvm-svn: 106268
-
Dan Gohman authored
This fixes PR7333. llvm-svn: 106267
-
Dan Gohman authored
to track a node over CSE events. This fixes PR7368. llvm-svn: 106266
-
Jim Ingham authored
Move the "status" command to "process status" since that's where it belongs. Also make it print "running" if invoked when the current process is running. llvm-svn: 106265
-
Bruno Cardoso Lopes authored
llvm-svn: 106264
-
Dan Gohman authored
which is faster, simpler, and less surprising. llvm-svn: 106263
-
Jim Ingham authored
Change the Breakpoint & BreakpointLocation GetDescription methods so they call the BreakpointOptions::GetDescription rather than picking bits out of the breakpoint options. Added BreakpointOptions::GetDescription to do this job. Some more mucking around to keep the breakpoint listing from getting too verbose. llvm-svn: 106262
-
Jim Ingham authored
Change "breakpoint configure" to "breakpoint modify" so it doesn't collide with "breakpoint command" Change "breakpoint enable/disable" so changing a breakpoint's state doesn't also overwrite the location states. llvm-svn: 106261
-
Dan Gohman authored
llvm-svn: 106260
-
Chris Lattner authored
llvm-svn: 106259
-
Ted Kremenek authored
Change two static variables into instance variables of ASTContext. This allows us to have multiple copies of ASTContext at the same time. llvm-svn: 106258
-
Dan Gohman authored
llvm-svn: 106256
-
Dan Gohman authored
llvm-svn: 106255
-
Dan Gohman authored
llvm-svn: 106254
-
Douglas Gregor authored
attribute as part of the calculation. Sema::MarkDeclReferenced(), and a few other places, want only to consider the "used" bit to determine, e.g, whether to perform template instantiation. Fixes a linkage issue with Boost.Serialization. llvm-svn: 106252
-
Bruno Cardoso Lopes authored
be done incrementally and intermixed with the adding of more AVX instructions. This is a first step in that direction llvm-svn: 106251
-
Fariborz Jahanian authored
lvalue when performing a derived-to-base conversion. Fixes radar 7501812. Added an executable test to llvm-test suite. llvm-svn: 106247
-
Bruno Cardoso Lopes authored
llvm-svn: 106246
-
Tom Care authored
M include/clang/Analysis/Analyses/PrintfFormatString.h M lib/Analysis/PrintfFormatString.cpp llvm-svn: 106245
-
Stuart Hastings authored
addresses a longstanding deficiency noted in many FIXMEs scattered across all the targets. This effectively moves the problem up one level, replacing eleven FIXMEs in the targets with eight FIXMEs in CodeGen, plus one path through FastISel where we actually supply a DebugLoc, fixing Radar 7421831. llvm-svn: 106243
-
- Jun 17, 2010
-
-
Fariborz Jahanian authored
Patch by Nico Weber (pr7390). llvm-svn: 106242
-
Zhanyong Wan authored
* refactors code in DEF_TRAVERSE_DECL() into TraverseDeclContextHelper() to reduce code bloat and facilitate reuse. * makes the order of traversing a FunctionDecl (including its subclasses)'s children more natural: before the function parameters are visited after the function body; now they are visited after the function type and before the function body. * fixes a double count for function return type and arguments. Reviewed by chandlerc and csilvers. llvm-svn: 106236
-
Fariborz Jahanian authored
an lvalue. Fixes PR7390. llvm-svn: 106235
-
Dan Gohman authored
llvm-svn: 106234
-
Tom Care authored
- Added warning for undefined behavior when using field specifier - Added warning for undefined behavior when using length modifier - Fixed warnings for invalid flags - Added warning for ignored flags - Added fixits for the above warnings - Fixed accuracy of detecting several undefined behavior conditions - Receive normal warnings in addition to security warnings when using %n - Fix bug where '+' flag would remain on unsigned conversion suggestions Summary of changes: - Added expanded tests - Added/expanded warnings - Added position info to OptionalAmounts for fixits - Extracted optional flags to a wrapper class with position info for fixits - Added several methods to validate a FormatSpecifier by component, each checking for undefined behavior - Fixed conversion specifier checking to conform to C99 standard - Added hooks to detect the invalid states in CheckPrintfHandler::HandleFormatSpecifier Note: warnings involving the ' ' (space) flag are temporarily disabled until whitespace highlighting no longer triggers assertions. I will make a post about this on cfe-dev shortly. M test/Sema/format-strings.c M include/clang/Basic/DiagnosticSemaKinds.td M include/clang/Analysis/Analyses/PrintfFormatString.h M lib/Analysis/PrintfFormatString.cpp M lib/Sema/SemaChecking.cpp llvm-svn: 106233
-