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
### Motivatons: | |
* Faster builds because we can parallelize more if one rootcling invocation doesn't depend on the other. | |
* The `G__source.cxx` generation doesn't depend on other `G__dep.cxx`. rootcling could run in parallel before. | |
* But modules depend on each other. Module A (depends on B) needs to be generated by rootcling before Module B. | |
* Now rootcling can't run in infinite parallel mode but needs to respect this dependency tree. | |
* Generating all output files in rootcling is slow. | |
* No interpreter garbage in the PCM/PCH like: `input_line_14` | |
* we want to piggyback on module build system instead of reimplementing it. | |
* See CIFactory code when `COpts.ModuleName` is set. |
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/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td | |
index d812bd8..4f1ea08 100644 | |
--- a/clang/include/clang/Driver/Options.td | |
+++ b/clang/include/clang/Driver/Options.td | |
@@ -469,6 +469,7 @@ def arch__errors__fatal : Flag<["-"], "arch_errors_fatal">; | |
def arch : Separate<["-"], "arch">, Flags<[DriverOption]>; | |
def arch__only : Separate<["-"], "arch_only">; | |
def a : Joined<["-"], "a">; | |
+def autocomplete : Joined<["--"], "autocomplete=">; | |
def bind__at__load : Flag<["-"], "bind_at_load">; |
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
// Example of using the CloneDetector for finding changes in source files. | |
#include "clang/AST/RecursiveASTVisitor.h" | |
#include "clang/Analysis/CloneDetection.h" | |
#include "clang/Tooling/Tooling.h" | |
#include <iostream> | |
// Utility class that pushes each declaration in the given TU to | |
// the CloneDetector instance. |
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
// Example of using the CloneDetector for finding changes in source files. | |
#include "clang/AST/RecursiveASTVisitor.h" | |
#include "clang/Analysis/CloneDetection.h" | |
#include "clang/Tooling/Tooling.h" | |
#include <iostream> | |
// Utility class that pushes each declaration in the given TU to | |
// the CloneDetector instance. |
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
These double includes weren't handlec by the script. If one of them is actually correct, please comment | |
Unuccessful typo corrections:9 | |
./math/mathcore/inc/Math/BasicMinimizer.h: | |
ROOT_Math_MinimizerVariable | |
ROOT_Math_MinimTransformVariable | |
./math/mathcore/inc/Math/MinimTransformFunction.h: | |
ROOT_Math_MinimizerVariable |
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 | |
from __future__ import print_function | |
import re, os | |
import ntpath | |
# print to stderr... | |
import sys | |
def eprint(*args, **kwargs): |
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, subprocess, shelve, logging, sys, getopt, tempfile, glob, json, hashlib, errno, signal, queue, multiprocessing, threading | |
module_build_dir = "" | |
nonmodule_build_dir = "" | |
needs_profiling = False | |
jobs = 1 | |
cache_file = "report_cache" |