- Nov 03, 2016
-
-
Rafael Espindola authored
llvm-svn: 285955
-
Richard Smith authored
* if the base is produced by a series of derived-to-base conversions, check the expression inside them when looking for an expression with a known dynamic type * step past MaterializeTemporaryExprs when checking for a known dynamic type * when checking for a known dynamic type, treat all class prvalues as having a known dynamic type after skipping all relevant rvalue subobject adjustments * treat callees formed by pointer-to-member access for a non-reference member type like callees formed by member access. llvm-svn: 285954
-
Justin Bogner authored
The buffer is already owned by the PDBFile for all of these APIs, so don't pass it in separately. llvm-svn: 285953
-
Rui Ueyama authored
llvm-svn: 285952
-
Rafael Espindola authored
Issue found by inspection. llvm-svn: 285951
-
Chandler Carruth authored
code, let's just assert that the DiagonsticEngine doesn't own the client because our constructor took ownership of it and has a std::unique_ptr that handles deleting it. This seems much more clear -- the release was harmless but confusing as if there were some memory there it would have leaked, and the reset was harmless but confusing as if there were some memory there it would have been double-freed. But in both cases there was nothing there. llvm-svn: 285950
-
Rui Ueyama authored
Previously, it didn't support the character class, so we couldn't eliminate the use fo llvm::Regex. Now that it is supported, we can remove compileGlobPattern, which converts a glob pattern to a regex. This patch contains optimization for exact/prefix/suffix matches. Differential Revision: https://reviews.llvm.org/D26284 llvm-svn: 285949
-
Tom Stellard authored
This file is unused as of r285939, but we need to keep it around for bots that don't do full rebuilds. We should be able to delete this again in a few days. llvm-svn: 285948
-
Andrey Churbanov authored
llvm-svn: 285947
-
Chandler Carruth authored
that its result is in fact used. Instead, use reset. This was pointed out by PVS-Studio. llvm-svn: 285946
-
Chandler Carruth authored
Filed http://llvm.org/PR30897 to teach Clang to warn on this kind of stuff. llvm-svn: 285945
-
Rafael Espindola authored
llvm-svn: 285944
-
Enrico Granata authored
llvm-svn: 285943
-
Rafael Espindola authored
llvm-svn: 285942
-
Enrico Granata authored
llvm-svn: 285941
-
Rafael Espindola authored
llvm-svn: 285940
-
Tom Stellard authored
Patch By: Wei Ding Differential Revision: https://reviews.llvm.org/D18049 llvm-svn: 285939
-
Akira Hatanaka authored
llvm-svn: 285938
-
Chandler Carruth authored
llvm-readobj. Another bug caught by PVS-Studio. It'd be nice to actually have a test for this, but I found it by inspection from PVS-Studio. llvm-svn: 285937
-
Chandler Carruth authored
Quite sad we still aren't really using aggressive dead code warnings from Clang that we could potentially use to catch this and so many other things. llvm-svn: 285936
-
Rafael Espindola authored
llvm-svn: 285935
-
Malcolm Parsons authored
Summary: During clang-format source lexing >> and << operators are split and treated as two less/greater operators but column position of following tokens was not adjusted accordingly. Fixes PR26887 Patch by Paweł Żukowski. Reviewers: djasper Subscribers: malcolm.parsons, mprobst, klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D25439 llvm-svn: 285934
-
Rafael Espindola authored
Instead of remembering a raw Elf_Shdr, store the symbol table proper and the index of the first non local. This moves error handling upfront and simplifies it. llvm-svn: 285933
-
Rafael Espindola authored
This adds versions of getSectionIndex, getSection and getSymbol that instead of a Elf_Shdr take the content of that section. llvm-svn: 285932
-
Davide Italiano authored
llvm-svn: 285931
-
Chandler Carruth authored
This condition is trivially always true prior to the change. The comment at the call site makes it clear that we expect *all* of these to be '=', 'S', or 'I' so fix the code. We have a bug I will update to track the fact that Clang doesn't warn on this: http://llvm.org/PR13101 llvm-svn: 285930
-
Rafael Espindola authored
llvm-svn: 285929
-
Rafael Espindola authored
llvm-svn: 285928
-
Saleem Abdulrasool authored
A large number of tests in the LLVM tree use the default (CHECK) prefix to indicate checked expressions via FileCheck. Highlight it as a special comment. Although this wont get all the instances of the checked patters, it is strictly better than the current state. llvm-svn: 285927
-
Rafael Espindola authored
llvm-svn: 285926
-
Samuel Antao authored
It was causing trouble with the GCC bots. llvm-svn: 285925
-
Michael Kruse authored
Fix return from function without releasing isl objects, which was introduced in r269055. llvm-svn: 285924
-
Akira Hatanaka authored
and FatalErrorOccurred are both set. This fixes a crash that occurs when a warning promoted to a fatal error leaves the AST in an incomplete state, and then later CFG analysis is run on the incomplete AST. rdar://problem/28558923 Differential Revision: https://reviews.llvm.org/D26166 llvm-svn: 285923
-
Rafael Espindola authored
llvm-svn: 285922
-
Rafael Espindola authored
Should fix the -Werror bots. llvm-svn: 285921
-
Rafael Espindola authored
llvm-svn: 285920
-
Alexander Timofeev authored
hange explores the fact that LDS reads may be reordered even if access the same location. Prior the change, algorithm immediately stops as soon as any memory access encountered between loads that are expected to be merged together. Although, Read-After-Read conflict cannot affect execution correctness. Improves hcBLAS CGEMM manually loop-unrolled kernels performance by 44%. Also improvement expected on any massive sequences of reads from LDS. Differential Revision: https://reviews.llvm.org/D25944 llvm-svn: 285919
-
Rafael Espindola authored
llvm-svn: 285918
-
Zvi Rackover authored
llvm-svn: 285917
-
Nicolai Haehnle authored
Summary: Have MergeConsecutiveStores explicitly return information about the stores that were merged, so that we can safely determine whether the starting node has been freed. Reviewers: chandlerc, bogner, niravd Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25601 llvm-svn: 285916
-