Move InlineOrder to separated file.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/Analysis/InlineOrder.h | ||
---|---|---|
2 | Please remove this empty line. | |
14–18 | Please include what you use like "llvm/ADT/SmallVector.h", <algorithm>, etc. LLVM header files are supposed to be self contained, meaning that a C++ source file that does nothing but include a header file compiles without a problem. While developing this patch, you could try to include this header file as the first one in Inliner.cpp to see if you get any errors from the compiler. | |
21–25 | Please remove these. | |
77 | If we are moving this class outside a .cpp, I might rename it to InlinePriority or something to avoid potential conflicts. | |
174 | Please add a newline at the end. |
Please remove this empty line.