[PATCH] D17130: Debloat some headers
Alexander Riccio via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 10 23:24:13 PST 2016
ariccio created this revision.
ariccio added a subscriber: cfe-commits.
As discussed in "Code in headers" on llvm-dev, there are lots of headers with complex code in them. I've moved some complex constructors & destructors to implementation files, using [[ https://www.chromium.org/developers/coding-style/cpp-dos-and-donts | Chromium's C++ Dos and Don'ts ]] as a guide.
It's compiling right now, and there're a few errors. I'll update the diff in a few minutes.
These changes are mostly in the Static Analyzer, as some files there take more than 30 seconds to compile.
http://reviews.llvm.org/D17130
Files:
llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
llvm/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
llvm/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
llvm/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
llvm/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
llvm/tools/clang/lib/StaticAnalyzer/Core/SVals.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17130.47601.patch
Type: text/x-patch
Size: 24932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160211/cbd66138/attachment-0001.bin>
More information about the cfe-commits
mailing list