- Aug 31, 2012
-
-
Jim Grosbach authored
The assembly string for the VMOVPQIto64rr instruction incorrectly lacked the 'v' prefix, resulting in mis-assembly of the vanilla movd instruction. llvm-svn: 162963
-
Eli Friedman authored
(__builtin_* etc.) so that it isn't possible to take their address. Specifically, introduce a new type to represent a reference to a builtin function, and a new cast kind to convert it to a function pointer in the operand of a call. Fixes PR13195. llvm-svn: 162962
-
Chad Rosier authored
the ConvertToMCInst() return void, rather then a bool. Update all the cvt functions as well. llvm-svn: 162961
-
Pete Cooper authored
Take account of boolean vector contents when promoting a build vector from i1 to some other type. rdar://problem/12210060 llvm-svn: 162960
-
Fariborz Jahanian authored
method parameter types which are reference to an objective-C pointer to object with no explicit ownership. // rdar://10907090 llvm-svn: 162959
-
Owen Anderson authored
llvm-svn: 162958
-
Anna Zaks authored
reanalyzed. The policy on what to reanalyze should be in AnalysisConsumer with the rest of visitation order logic. There is no reason why ExprEngine needs to pass the Visited set to CoreEngine, it can populate it itself. llvm-svn: 162957
-
Owen Anderson authored
Teach the DAG combiner to turn chains of FADDs (x+x+x+x+...) into FMULs by constants. This is only enabled in unsafe FP math mode, since it does not preserve rounding effects for all such constants. llvm-svn: 162956
-
Chad Rosier authored
llvm-svn: 162955
-
Chad Rosier authored
llvm-svn: 162954
-
Michael Gottesman authored
llvm-svn: 162953
-
Chad Rosier authored
llvm-svn: 162952
-
Anna Zaks authored
llvm-svn: 162951
-
Anna Zaks authored
There are two tests regressions that come from the fact that the Retain Count checker does not cancel out inlining of ObjC methods. llvm-svn: 162950
-
Anna Zaks authored
Thanks for catching this! llvm-svn: 162949
-
Eli Friedman authored
llvm-svn: 162948
-
- Aug 30, 2012
-
-
Douglas Gregor authored
constructor not user provided (and, therefore, non-trivial). Fixes <rdar://problem/11736429>. llvm-svn: 162947
-
Chad Rosier authored
llvm-svn: 162946
-
Chad Rosier authored
llvm-svn: 162945
-
Chad Rosier authored
an 80-column violation in the generated code. No functional change intended. llvm-svn: 162944
-
Greg Clayton authored
./verify_api.py --library ./LLDB.framework/LLDB --api-regex lldb --arch x86_64 /Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB So you specify a library with the "--library" option, then you specify an API regular expression that you want to match the executables against with "--api-regex <regex>", here we specify "lldb" to catch all undefined external API functions from the binary we want to test, then we specify the architectures to check with "--arch <arch>" (this can be specified more than once), and you give one or more executables. llvm-svn: 162941
-
Anna Zaks authored
Due to recent diagnostic changes, we may generate malformed diagnostics. llvm-svn: 162940
-
Jordan Rose authored
If the current path diagnostic does /not/ have files associated with it, we were simply skipping on to the next diagnostic with 'continue'. But that also skipped the close tag for the diagnostic's <dict> node. Part of fixing our internal analyzer buildbot. llvm-svn: 162939
-
Richard Trieu authored
initiated enum constant has the same value as another enum constant. For instance: enum test { A, B, C = -1, D, E = 1 }; Clang will warn that: A and D both have value 0 B and E both have value 1 A few exceptions are made to keep the noise down. Enum constants which are initialized to another enum constant, or an enum constant plus or minus 1 will not trigger this warning. Also, anonymous enums are not checked. llvm-svn: 162938
-
Douglas Gregor authored
(__is_pod, __is_signed, etc.) to normal identifiers if they are encountered in certain places in the grammar where we know that prior versions of libstdc++ or libc++ use them, to still allow the use of these keywords as type traits. Fixes <rdar://problem/9836262> and PR10184. llvm-svn: 162937
-
Manuel Klimek authored
Intorduces an abstraction for DynTypedNode which makes is impossible to create in ways that introduced the bug; also hides the implementation details of the template magic away from the user and prepares the code for adding QualType and TypeLoc bindings, as well as using DynTypedNode instead of overloads for child and ancestor matching. getNodeAs<T> was changed towards a non-pointer type, as we'll want QualType and TypeLoc nodes to be returned by value (the alternative would be to create new storage which is prohibitively costly if we want to use it for child / ancestor matching). DynTypedNode is moved into a new header ASTTypeTraits.h, as it is completely independent of the rest of the matcher infrastructure - if the need comes up, we can move it to a more common place. The interface for users before the introduction of the common storage change remains the same, minus the introduced bug, for which a regression test was added. llvm-svn: 162936
-
Anna Zaks authored
from callee to caller. radar://12109638 llvm-svn: 162935
-
Ted Kremenek authored
llvm-svn: 162934
-
Ted Kremenek authored
llvm-svn: 162933
-
Ted Kremenek authored
should consider renaming the command line option as well. llvm-svn: 162932
-
Ted Kremenek authored
and 'visualizeExplodedGraphWithGraphViz' respectively. llvm-svn: 162931
-
Ted Kremenek authored
llvm-svn: 162930
-
Ted Kremenek authored
individual flags. llvm-svn: 162929
-
Ted Kremenek authored
llvm-svn: 162928
-
Ted Kremenek authored
llvm-svn: 162927
-
Nadav Rotem authored
Currently targets that do not support selects with scalar conditions and vector operands - scalarize the code. ARM is such a target because it does not support CMOV of vectors. To implement this efficientlyi, we broadcast the condition bit and use a sequence of NAND-OR to select between the two operands. This is the same sequence we use for targets that don't have vector BLENDs (like SSE2). rdar://12201387 llvm-svn: 162926
-
Howard Hinnant authored
functions to protect against duration and time_point overflow. Since we're about to wait anyway, we can afford to spend a few more cycles on this checking. I purposefully did not treat the timed try_locks with overflow checking. This fixes http://llvm.org/bugs/show_bug.cgi?id=13721 . I'm unsure if the standard needs clarification in this area, or if this is simply QOI. The <chrono> facilities were never intended to overflow check, but just to not overflow if durations stayed within +/- 292 years. llvm-svn: 162925
-
Enrico Granata authored
llvm-svn: 162924
-
Fariborz Jahanian authored
__objc_yes/__objc_no to (BOOL)1/(BOOL)0 when BOOL is declared; otherwise it resorts to default of 'signed char'. This is important to selecting the correct Numeric API numberWithBool: Can't have a clang test for this. Will checkin and executable llvm test. // rdar://12156616 llvm-svn: 162922
-
Greg Clayton authored
OptionValueFileSpec had an accessor to read the contents of the file and return the data. This can end up being used to get the string contents of a text file and could end up not being NULL terminated. I added accessors to get the file contents raw, or with a null terminator. Added the needed calls to make this happen in the FileSpec and File classes. llvm-svn: 162921
-