aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Use.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-06-23Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko1-1/+1
Apparently, the style needs to be agreed upon first. llvm-svn: 240390
2015-06-19Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-1/+1
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! llvm-svn: 240137
2014-08-21Fix a URL (NFC)Justin Bogner1-1/+1
llvm-svn: 216228
2014-04-09Fix some doc and comment typosAlp Toker1-1/+1
llvm-svn: 205899
2014-04-09[C++11] More 'nullptr' conversion or in some cases just using a boolean ↵Craig Topper1-2/+2
check instead of comparing to nullptr. llvm-svn: 205831
2014-03-04[cleanup] Add a getOperandNo method to the Use class and implement itChandler Carruth1-0/+5
out-of-line so that it can refer to the methods on User. As a consequence, this removes the need to define one template method if value_use_iterator in the extremely strange User.h header (!!!). This makse Use.h slightly less peculiar. The only remaining real peculiarity is the definition of Use::set in Value.h llvm-svn: 202805
2014-03-04[cleanup] Use early exit and simpler temporary variables to clarify theChandler Carruth1-19/+18
swap implementation. llvm-svn: 202802
2014-03-04[cleanup] Run clang-format over the Use code. It was *really*Chandler Carruth1-35/+31
inconsistent both with itself and with LLVM at large with formatting. The *s were on the wrong side, the indent was off, etc etc. This is much cleaner. Also, go clang-format laying out the array of tags in nice columns. llvm-svn: 202799
2014-03-04[cleanup] Tidy up and modernize comments and the definition order forChandler Carruth1-60/+42
the Use class. More cleanups to come here. This class just needs some TLC. llvm-svn: 202798
2013-01-14Fix CastingDavid Greene1-1/+1
Stop a gcc warning about casting away const. llvm-svn: 172465
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-1/+1
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
2013-01-02Rename VMCore directory to IR.Chandler Carruth1-0/+145
Aside from moving the actual files, this patch only updates the build system and the source file comments under lib/... that are relevant. I'll be updating other docs and other files in smaller subsequnet commits. While I've tried to test this, but it is entirely possible that there will still be some build system fallout. Also, note that I've not changed the library name itself: libLLVMCore.a is still the library name. I'd be interested in others' opinions about whether we should rename this as well (I think we should, just not sure what it might break) llvm-svn: 171359