Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

Clang and llvm Revision/repository now can be specified as a compilation flag. #481

Closed vodorok closed 6 years ago

vodorok commented 6 years ago

Alongside the existing -DSVN_REVISION flag, (which specifies the clang revision number) now there are three more flag that can be specified when there are no revision info in the clang/llvm source directory.

-DSVN_REPOSITORY= specifies clang repository. -DLLVM_REVISION= specifies llvm revision. -DLLVM_REPOSITORY= specigies llvm repositiory.

dkrupp commented 6 years ago

Can one of the admins verify this patch?

balazske commented 6 years ago

Why not CLANG_REPOSITORY instead of SVN_REPOSITORY?

martong commented 6 years ago

run tests

vodorok commented 6 years ago

The three new added define, is already being used in Version.cpp. I think this was the smallest possible intrusion to the existing codebase.