Wizard updated this revision to Diff 123089.
Wizard marked 2 inline comments as done.
Wizard added a comment.
address comments
https://reviews.llvm.org/D40058
Files:
clang-tidy/google/AvoidThrowingObjcExceptionCheck.cpp
clang-tidy/google/AvoidThrowingObjcExceptionCheck.h
clang-tidy/google
Wizard updated this revision to Diff 123090.
Wizard marked 6 inline comments as done.
Wizard added a comment.
rename file
https://reviews.llvm.org/D40058
Files:
clang-tidy/google/AvoidThrowingObjC2ExceptionCheck.cpp
clang-tidy/google/AvoidThrowingObjC2ExceptionCheck.h
clang-tidy/google/CM
Wizard updated this revision to Diff 123091.
Wizard marked an inline comment as done.
Wizard added a comment.
rename again
https://reviews.llvm.org/D40058
Files:
clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp
clang-tidy/google/AvoidThrowingObjCExceptionCheck.h
clang-tidy/google/CMa
Wizard updated this revision to Diff 123093.
Wizard added a comment.
nit fix
https://reviews.llvm.org/D40058
Files:
clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp
clang-tidy/google/AvoidThrowingObjCExceptionCheck.h
clang-tidy/google/CMakeLists.txt
clang-tidy/google/GoogleTidyModu
This revision was automatically updated to reflect the committed changes.
Closed by commit rL318366: add check to avoid throwing objc exception according
to Google Objective-C guide (authored by Wizard).
Repository:
rL LLVM
https://reviews.llvm.org/D40058
Files:
clang-tools-extra/trunk/clan
Wizard updated this revision to Diff 123860.
Wizard added a comment.
add doc to header file
https://reviews.llvm.org/D40325
Files:
clang-tidy/objc/AvoidSpinlockCheck.cpp
clang-tidy/objc/AvoidSpinlockCheck.h
clang-tidy/objc/CMakeLists.txt
clang-tidy/objc/ObjCTidyModule.cpp
docs/Release
Wizard created this revision.
Herald added subscribers: cfe-commits, klimek.
Wizard retitled this revision from "add ID as a special acronym to objc
property declaration check for property names like bundleID.
allow using acronyms as suffix." to "add ID as a special acronym to objc
property decla
This revision was automatically updated to reflect the committed changes.
Closed by commit rL322602: add ID as a special acronym to objc property
declaration check for property… (authored by Wizard, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.ll
Wizard added a comment.
Can you update the doc btw since the acronyms are not only for prefix anymore?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42253
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.or
Wizard created this revision.
Herald added subscribers: cfe-commits, klimek.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42464
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
docs/clang-tidy/checks/objc-property-declaration.rst
test/clang-tidy/objc-property-declarati
Wizard added inline comments.
Comment at: clang-tidy/objc/PropertyDeclarationCheck.cpp:102
+bool hasCategoryPropertyPrefix(const llvm::StringRef &PropertyName) {
+ for (size_t i = 0; i < PropertyName.size() - 1; ++i) {
+if (PropertyName[i] == '_') {
benhamil
Wizard updated this revision to Diff 131368.
Wizard marked an inline comment as done.
Wizard added a comment.
check for class extentsion
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42464
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
docs/clang-tidy/checks/objc-prop
Wizard marked 7 inline comments as done.
Wizard added inline comments.
Comment at: clang-tidy/objc/PropertyDeclarationCheck.cpp:120
+ auto RegexExp = llvm::Regex(
+ llvm::StringRef(validPropertyNameRegex(Acronyms).replace(0, 2, "^")));
+ return RegexExp.match(llvm::StringR
Wizard added inline comments.
Comment at: clang-tidy/objc/PropertyDeclarationCheck.cpp:93
+ [](const std::string &s) { return llvm::Regex::escape(s); });
// Allow any of these names:
// foo
hokein wrote:
> Does the comment still make sense?
Wizard updated this revision to Diff 131511.
Wizard marked 8 inline comments as done.
Wizard added a comment.
update some documents and comments
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42464
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
docs/clang-tidy/checks/o
Wizard marked 3 inline comments as done.
Wizard added inline comments.
Comment at: clang-tidy/objc/PropertyDeclarationCheck.cpp:115
+
+bool prefixedPropertyNameMatches(const llvm::StringRef &PropertyName,
+ const std::vector &Acronyms) {
--
Wizard updated this revision to Diff 131741.
Wizard added a comment.
resolve comments
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42464
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
docs/clang-tidy/checks/objc-property-declaration.rst
test/clang-tidy/objc-propert
Wizard updated this revision to Diff 131869.
Wizard added a comment.
resolve comments and fix some logic
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42464
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
docs/clang-tidy/checks/objc-property-declaration.rst
test/clan
Wizard updated this revision to Diff 131877.
Wizard marked 2 inline comments as done.
Wizard added a comment.
add more tests
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42464
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
docs/clang-tidy/checks/objc-property-declara
Wizard marked 3 inline comments as done.
Wizard added inline comments.
Comment at: clang-tidy/objc/PropertyDeclarationCheck.cpp:151
+ hasCategoryPropertyPrefix(MatchedDecl->getName())) {
+const auto *CategoryDecl = (const ObjCCategoryDecl *)(DeclContext);
+if (!prefi
Wizard updated this revision to Diff 131904.
Wizard added a comment.
merge changes and add EscapedAcronyms to store the actual acronyms during
runtime.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42464
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
clang-tidy/objc/
This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE323722: add prefix with '_' support for property
name. Corresponding apple dev doc… (authored by Wizard, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42464?vs=131904&id=131907#to
101 - 122 of 122 matches
Mail list logo