This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp b/clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp | |
index 19e91b44b41..49b0c879e72 100644 | |
--- a/clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp | |
+++ b/clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp | |
@@ -23,24 +23,21 @@ void InaccurateEraseCheck::registerMatchers(MatchFinder *Finder) { | |
callee(functionDecl(hasAnyName("remove", "remove_if", "unique"))), | |
hasArgument( | |
1, | |
- anyOf(cxxConstructExpr(has(ignoringImplicit( | |
+ anyOf( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import subprocess | |
import datetime | |
lastDate = datetime.datetime.today() | |
firstDate = lastDate - datetime.timedelta(days=7*52*3) | |
testDate = firstDate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir calculator | |
cd calculator | |
mkdir mainui libcalc | |
echo "print \"hello\"" > mainui/app.py | |
echo "print \"hello\"" > libcalc/adder.py | |
echo "print \"hello\"" > libcalc/subtracter.py | |
git init | |
git add . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <iostream> | |
#include <cmath> | |
#include <numeric> | |
#include <valgrind/callgrind.h> | |
struct Data | |
{ |