[PATCH] D11328: [clang-tidy] new "throw-by-value-catch-by-reference"	check for clang-tidy
    Tobias Langner 
    randomcppprogrammer at gmail.com
       
    Sat Jul 18 08:44:22 PDT 2015
    
    
  
randomcppprogrammer created this revision.
randomcppprogrammer added reviewers: klimek, cfe-commits, jbcoe.
This patch contains an implementation to check whether exceptions where thrown by value and caught by const reference. This is a guideline mentioned in different places, e.g. "C++ Coding Standards" by H. Sutter.
Patch by Tobias Langner
http://reviews.llvm.org/D11328
Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp
  clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h
  test/clang-tidy/misc-throw-by-value-catch-by-reference.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11328.30080.patch
Type: text/x-patch
Size: 6965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150718/f8b8b993/attachment.bin>
    
    
More information about the cfe-commits
mailing list