Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed writing of huge blobs to BufferedWriter #38

Merged
merged 1 commit into from
Mar 28, 2020

Conversation

RootKiller
Copy link
Contributor

Tested on generating analysis report of project that contains huge cpp files

Tested on generating analysis report of project that contains huge cpp files
@aras-p aras-p mentioned this pull request Mar 28, 2020
@aras-p
Copy link
Owner

aras-p commented Mar 28, 2020

Thanks! I'll try to make a repro for this myself and will merge once tested.

@aras-p aras-p merged commit 62baecc into aras-p:master Mar 28, 2020
aras-p added a commit that referenced this pull request Mar 28, 2020
Generated from this .cpp file (with clang/llvm 10.0):

#include <string>
#include <map>
#include <vector>
using namespace std;
typedef vector<string> StringVec;
typedef map<StringVec, StringVec> StringVecMap;
typedef map<StringVecMap, StringVecMap> StringVecMapMap;
typedef map<StringVecMapMap, StringVecMapMap> StringVecMapMapMap;
typedef map<StringVecMapMapMap, StringVecMapMapMap> StringVecMapMapMapMap;
int Func(StringVecMapMapMapMap& arg)
{
    arg.clear();
    return (int)arg.size();
}
int main()
{
    return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants