summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-11-14 16:33:29 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-11-14 16:33:29 +0000
commit61f2032d3b292f98e92ebb8108664fbe1a855574 (patch)
tree396c10d614290d264b6b09322c6a0b0dfb2da813 /clang/lib/Driver/Tools.cpp
parentc47c63b2dd77d1679acdfb90c321d32ad92e65aa (diff)
downloadbcm5719-llvm-61f2032d3b292f98e92ebb8108664fbe1a855574.tar.gz
bcm5719-llvm-61f2032d3b292f98e92ebb8108664fbe1a855574.zip
[objcmt] Introduce "objcmt-white-list-dir-path=" option.
This options accepts a path to a directory, collects the filenames of the files it contains, and the migrator will only modify files with the same filename. llvm-svn: 194710
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index c8ecdc996af..9027f70c3cb 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -2726,6 +2726,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
Args.AddLastArg(CmdArgs, options::OPT_objcmt_atomic_property);
Args.AddLastArg(CmdArgs, options::OPT_objcmt_returns_innerpointer_property);
Args.AddLastArg(CmdArgs, options::OPT_objcmt_ns_nonatomic_iosonly);
+ Args.AddLastArg(CmdArgs, options::OPT_objcmt_white_list_dir_path);
}
// Add preprocessing options like -I, -D, etc. if we are using the
OpenPOWER on IntegriCloud