The idea is that the policy string fully specifies the policy and is portable
between clients.
Details
Diff Detail
- Build Status
Buildable 4808 Build 4808: arc lint + arc unit
Event Timeline
Neat! LGTM.
llvm/include/llvm/LTO/Caching.h | ||
---|---|---|
23 | Do all the clients of this header need this declaration? I found strange that nothing changes in the header but this is needed. | |
llvm/include/llvm/Support/CachePruning.h | ||
47 | Could you add an example syntax here? | |
llvm/lib/Support/CachePruning.cpp | ||
37 | Why "Interval"? It seems that you're parsing a "time" or a "duration"? | |
98 | StringSwitch? I guess it does not play well with the error to return... |
llvm/include/llvm/LTO/Caching.h | ||
---|---|---|
23 | This was an unintentional change, I've reverted it. | |
llvm/lib/Support/CachePruning.cpp | ||
37 | They're synonyms for the most part, but it looks like "duration" is the term used by the stdlib and distinguishes from the pruning interval, so I've switched to it. | |
98 | Right, I guess I'd have to go through contortions in this code that would outweigh the value of StringSwitch IMHO. |
llvm/lib/Support/CachePruning.cpp | ||
---|---|---|
37 | OK. |
Do all the clients of this header need this declaration? I found strange that nothing changes in the header but this is needed.